{"action":"opened","issue":{"url":"https://api.github.com/repos/KSP-KOS/KOS/issues/1394","labels_url":"https://api.github.com/repos/KSP-KOS/KOS/issues/1394/labels{/name}","comments_url":"https://api.github.com/repos/KSP-KOS/KOS/issues/1394/comments","events_url":"https://api.github.com/repos/KSP-KOS/KOS/issues/1394/events","html_url":"https://github.com/KSP-KOS/KOS/issues/1394","id":129300480,"number":1394,"title":"using STEERING in compiled function breaks things","user":{"login":"pellinor0","id":11016463,"avatar_url":"https://avatars.githubusercontent.com/u/11016463?v=3","gravatar_id":"","url":"https://api.github.com/users/pellinor0","html_url":"https://github.com/pellinor0","followers_url":"https://api.github.com/users/pellinor0/followers","following_url":"https://api.github.com/users/pellinor0/following{/other_user}","gists_url":"https://api.github.com/users/pellinor0/gists{/gist_id}","starred_url":"https://api.github.com/users/pellinor0/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pellinor0/subscriptions","organizations_url":"https://api.github.com/users/pellinor0/orgs","repos_url":"https://api.github.com/users/pellinor0/repos","events_url":"https://api.github.com/users/pellinor0/events{/privacy}","received_events_url":"https://api.github.com/users/pellinor0/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-01-27T23:20:35Z","updated_at":"2016-01-27T23:20:35Z","closed_at":null,"body":"A minimal example with two files, using KOS v0.18.2: \r\ntmp.ks:\r\n```\r\nrun once libtmp.\r\nlock Steering to Up.\r\n```\r\nlibtmp.ks:\r\n`function test { lock Steering to Up. }`\r\n\r\nNow I type in the terminal\r\n```\r\nswitch to 0.\r\nrun tmp. // => runs fine\r\ncompile libtmp.\r\nrun tmp. // => Error\r\n```\r\n```\r\nProgramBuilder.ReplaceLabels: cannot add label steering'0-default, \r\nlabel already exists. Opcode: push $steering.\r\nAt tmp on archive, line 2.\r\n```\r\n\r\nIt looks like mentioning 'Steering' in the function definition causes bad things, but only if the function is pre-compiled. "}}