{"action":"created","issue":{"url":"https://api.github.com/repos/eclipse/xtext-xtend/issues/336","repository_url":"https://api.github.com/repos/eclipse/xtext-xtend","labels_url":"https://api.github.com/repos/eclipse/xtext-xtend/issues/336/labels{/name}","comments_url":"https://api.github.com/repos/eclipse/xtext-xtend/issues/336/comments","events_url":"https://api.github.com/repos/eclipse/xtext-xtend/issues/336/events","html_url":"https://github.com/eclipse/xtext-xtend/issues/336","id":284160944,"number":336,"title":"[AA] A locally defined Xtend type cannot be referenced in an active annotation","user":{"login":"kuniss","id":1107971,"avatar_url":"https://avatars3.githubusercontent.com/u/1107971?v=4","gravatar_id":"","url":"https://api.github.com/users/kuniss","html_url":"https://github.com/kuniss","followers_url":"https://api.github.com/users/kuniss/followers","following_url":"https://api.github.com/users/kuniss/following{/other_user}","gists_url":"https://api.github.com/users/kuniss/gists{/gist_id}","starred_url":"https://api.github.com/users/kuniss/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kuniss/subscriptions","organizations_url":"https://api.github.com/users/kuniss/orgs","repos_url":"https://api.github.com/users/kuniss/repos","events_url":"https://api.github.com/users/kuniss/events{/privacy}","received_events_url":"https://api.github.com/users/kuniss/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-12-22T13:15:22Z","updated_at":"2017-12-23T08:26:19Z","closed_at":null,"author_association":"NONE","body":"When using an active annotation which has parameters referencing Java types, those Java types cannot be resolved if they are locally defined. It does not matter, whether this are real Java or types generated from Xtend types.\r\n\r\nHowever, Java types referenced from outside the project are resolved well.\r\n\r\nNote: The active annotation itself is defined outside from the affected project and itself referenced. So, it is not a AA wrong usage issue. \r\nI assume and scoping issue.\r\n\r\nAn example may be found here: https://github.com/kuniss/xtend-issues/tree/master/xtend-issue-336-aa-loca-typeref\r\n\r\nEclipse is reporting an similar error like the following form a pure Gradle build:\r\n```\r\nWorking Directory: C:\\Users\\denis.kuniss\\Eclipse-Oyxygen-Workspace\\xtend-issues\r\nGradle User Home: C:\\Users\\denis.kuniss\\.gradle\r\nGradle Distribution: Gradle wrapper from target build\r\nGradle Version: 4.4\r\nJava Home: C:\\Program Files\\Java\\jdk1.8.0_45\r\nJVM Arguments: None\r\nProgram Arguments: None\r\nBuild Scans Enabled: false\r\nOffline Mode Enabled: false\r\nGradle Tasks: :build\r\n\r\nThe CompileOptions.bootClasspath property has been deprecated and is scheduled to be removed in Gradle 5.0. Please use the CompileOptions.bootstrapClasspath property instead.\r\nGradle now uses separate output directories for each JVM language, but this build assumes a single directory for all classes from a source set. This behaviour has been deprecated and is scheduled to be removed in Gradle 5.0\r\n:generateXtext\r\nERROR:Couldn't resolve feature MyLocalType (file:/C:/Users/denis.kuniss/Eclipse-Oyxygen-Workspace/xtend-issues/src/main/java/de/grammarcraft/xtend/issues/aatyperef/AAnnotatedType.xtend line : 12 column : 45)\r\n FAILED\r\n```"},"comment":{"url":"https://api.github.com/repos/eclipse/xtext-xtend/issues/comments/353713938","html_url":"https://github.com/eclipse/xtext-xtend/issues/336#issuecomment-353713938","issue_url":"https://api.github.com/repos/eclipse/xtext-xtend/issues/336","id":353713938,"user":{"login":"cdietrich","id":238736,"avatar_url":"https://avatars2.githubusercontent.com/u/238736?v=4","gravatar_id":"","url":"https://api.github.com/users/cdietrich","html_url":"https://github.com/cdietrich","followers_url":"https://api.github.com/users/cdietrich/followers","following_url":"https://api.github.com/users/cdietrich/following{/other_user}","gists_url":"https://api.github.com/users/cdietrich/gists{/gist_id}","starred_url":"https://api.github.com/users/cdietrich/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cdietrich/subscriptions","organizations_url":"https://api.github.com/users/cdietrich/orgs","repos_url":"https://api.github.com/users/cdietrich/repos","events_url":"https://api.github.com/users/cdietrich/events{/privacy}","received_events_url":"https://api.github.com/users/cdietrich/received_events","type":"User","site_admin":false},"created_at":"2017-12-23T08:26:19Z","updated_at":"2017-12-23T08:26:19Z","author_association":"MEMBER","body":"potential workaround `type=typeof(MyLocalType)` leads to follow up errors. am nut sure if this is caused by the processor code"}}
{"actor":{"display_login":"cdietrich"}}