{"action":"opened","issue":{"url":"https://api.github.com/repos/dart-lang/linter/issues/224","repository_url":"https://api.github.com/repos/dart-lang/linter","labels_url":"https://api.github.com/repos/dart-lang/linter/issues/224/labels{/name}","comments_url":"https://api.github.com/repos/dart-lang/linter/issues/224/comments","events_url":"https://api.github.com/repos/dart-lang/linter/issues/224/events","html_url":"https://github.com/dart-lang/linter/issues/224","id":149372673,"number":224,"title":"non_constant_identifier_names false positive","user":{"login":"zoechi","id":405837,"avatar_url":"https://avatars.githubusercontent.com/u/405837?v=3","gravatar_id":"","url":"https://api.github.com/users/zoechi","html_url":"https://github.com/zoechi","followers_url":"https://api.github.com/users/zoechi/followers","following_url":"https://api.github.com/users/zoechi/following{/other_user}","gists_url":"https://api.github.com/users/zoechi/gists{/gist_id}","starred_url":"https://api.github.com/users/zoechi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zoechi/subscriptions","organizations_url":"https://api.github.com/users/zoechi/orgs","repos_url":"https://api.github.com/users/zoechi/repos","events_url":"https://api.github.com/users/zoechi/events{/privacy}","received_events_url":"https://api.github.com/users/zoechi/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-04-19T07:28:53Z","updated_at":"2016-04-19T07:28:53Z","closed_at":null,"body":"I think it should only warn at declaration site not when it's only referenced:\r\n\r\n```dart\r\nclass SetProperty<T> extends Property<Set<T>> {\r\n  // ignore: non_constant_identifier_names\r\n  final PropertyConstructorFn<T> __propertyConstructor;\r\n  PropertyConstructorFn<T> get _propertyConstructor => __propertyConstructor;\r\n\r\n  SetProperty(Entity entity, SetType config, this.__propertyConstructor);\r\n  //                                         ^^^^^^^^^^^^^^^^^^^^^^^^^^\r\n}\r\n```"}}