{"action":"opened","issue":{"url":"https://api.github.com/repos/dart-lang/reflectable/issues/34","labels_url":"https://api.github.com/repos/dart-lang/reflectable/issues/34/labels{/name}","comments_url":"https://api.github.com/repos/dart-lang/reflectable/issues/34/comments","events_url":"https://api.github.com/repos/dart-lang/reflectable/issues/34/events","html_url":"https://github.com/dart-lang/reflectable/issues/34","id":107493551,"number":34,"title":"Range error when a class contains a static final list field","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":"2015-09-21T11:39:25Z","updated_at":"2015-09-21T11:39:25Z","closed_at":null,"body":"```dart\r\n@PolymerRegister('my-element')\r\nclass MyElement extends PolymerElement {\r\n  static const List<String> hardCodedListOfWords = const [\r\n    \"apple\"];\r\n  MyElement.created() : super.created() {}\r\n}\r\n```\r\n\r\nWhen I rename it to make it private it works fine.\r\nFull project https://github.com/bwu-dart-contributing/polymer-dart-patterns/blob/0.17.0/web/forms/implementing_simple_autocompletion/my_element.dart#L17\r\n\r\n>  Exception: Uncaught Error: RangeError (index): Invalid value: Not in range 0..2523, inclusive: -1\r\nStack Trace:\r\n#0      List.[] (dart:core-patch/growable_array.dart:135)\r\n#1      ClassMirrorImpl.staticMembers (package:reflectable/src/reflectable_transformer_based.dart:352:32)\r\n#2      _setupHostAttributes (package:polymer/src/common/polymer_descriptor.dart:160:18)\r\n#3      createPolymerDescriptor (package:polymer/src/common/polymer_descriptor.dart:32:3)\r\n#4      PolymerRegister.initialize (package:polymer/src/common/polymer_register.dart:19:36)\r\n#5      loadInitializers.<anonymous closure>.<anonymous closure> (package:initialize/src/static_loader.dart:46:32)\r\n#6      _runInitQueue (package:initialize/initialize.dart:35:24)\r\n#7      _runInitQueue.<anonymous closure> (package:initialize/initialize.dart:38:26)\r\n#8      _RootZone.runUnary (dart:async/zone.dart:1165)\r\n#9      _Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:502)\r\n#10     _Future._propagateToListeners (dart:async/future_impl.dart:585)\r\n#11     _Future._completeWithValue (dart:async/future_impl.dart:376)\r\n#12     _Future._asyncComplete.<anonymous closure> (dart:async/future_impl.dart:430)\r\n#13     _microtaskLoop (dart:async/schedule_microtask.dart:43)\r\n#14     _microtaskLoopEntry (dart:async/schedule_microtask.dart:52)\r\n#15     _ScheduleImmediateHelper._handleMutation (dart:html:42565)"}}