{"action":"created","issue":{"url":"https://api.github.com/repos/playframework/playframework/issues/7382","repository_url":"https://api.github.com/repos/playframework/playframework","labels_url":"https://api.github.com/repos/playframework/playframework/issues/7382/labels{/name}","comments_url":"https://api.github.com/repos/playframework/playframework/issues/7382/comments","events_url":"https://api.github.com/repos/playframework/playframework/issues/7382/events","html_url":"https://github.com/playframework/playframework/issues/7382","id":230975101,"number":7382,"title":"Unused import warning in routes (Play 2.6.0-RC1 and Scala 2.12.2)","user":{"login":"maxcom","id":69385,"avatar_url":"https://avatars3.githubusercontent.com/u/69385?v=4","gravatar_id":"","url":"https://api.github.com/users/maxcom","html_url":"https://github.com/maxcom","followers_url":"https://api.github.com/users/maxcom/followers","following_url":"https://api.github.com/users/maxcom/following{/other_user}","gists_url":"https://api.github.com/users/maxcom/gists{/gist_id}","starred_url":"https://api.github.com/users/maxcom/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maxcom/subscriptions","organizations_url":"https://api.github.com/users/maxcom/orgs","repos_url":"https://api.github.com/users/maxcom/repos","events_url":"https://api.github.com/users/maxcom/events{/privacy}","received_events_url":"https://api.github.com/users/maxcom/received_events","type":"User","site_admin":false},"labels":[{"id":35908140,"url":"https://api.github.com/repos/playframework/playframework/labels/help:needs-verification","name":"help:needs-verification","color":"e102d8","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2017-05-24T09:26:07Z","updated_at":"2017-11-09T19:23:05Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"### Play Version (2.5.x / etc)\r\n2.6.0-RC1\r\n\r\n### API (Scala / Java / Neither / Both)\r\nScala\r\n\r\n### Expected Behavior\r\n\r\nPlay-2.6.0-RC1 project can be compiled with \"-Xfatal-warnings\" compiler option and Scala 2.12.2.\r\n\r\n### Actual Behavior\r\n\r\n```\r\n[error] /home/maxcom/git-checkout/abook-daemon/conf/routes: Unused import\r\n[error] /home/maxcom/git-checkout/abook-daemon/conf/routes: Unused import\r\n[error] /home/maxcom/git-checkout/abook-daemon/conf/routes: Unused import\r\n[error] three errors found\r\n[error] (compile:compileIncremental) Compilation failed\r\n[error] Total time: 20 s, completed 24.05.2017 12:19:33\r\n```\r\n\r\nI think that unused import is\r\n\r\n```\r\nimport _root_.controllers.Assets.Asset\r\n```\r\n\r\nin generated `Routes` and `ReverseRoutes`"},"comment":{"url":"https://api.github.com/repos/playframework/playframework/issues/comments/343263207","html_url":"https://github.com/playframework/playframework/issues/7382#issuecomment-343263207","issue_url":"https://api.github.com/repos/playframework/playframework/issues/7382","id":343263207,"user":{"login":"gmalouf","id":982483,"avatar_url":"https://avatars2.githubusercontent.com/u/982483?v=4","gravatar_id":"","url":"https://api.github.com/users/gmalouf","html_url":"https://github.com/gmalouf","followers_url":"https://api.github.com/users/gmalouf/followers","following_url":"https://api.github.com/users/gmalouf/following{/other_user}","gists_url":"https://api.github.com/users/gmalouf/gists{/gist_id}","starred_url":"https://api.github.com/users/gmalouf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gmalouf/subscriptions","organizations_url":"https://api.github.com/users/gmalouf/orgs","repos_url":"https://api.github.com/users/gmalouf/repos","events_url":"https://api.github.com/users/gmalouf/events{/privacy}","received_events_url":"https://api.github.com/users/gmalouf/received_events","type":"User","site_admin":false},"created_at":"2017-11-09T19:23:05Z","updated_at":"2017-11-09T19:23:05Z","author_association":"NONE","body":"Disabling -Xlint gets rid of the warnings - having said that this feels like a regression."}}
{"actor":{"display_login":"gmalouf"}}