{"action":"created","issue":{"url":"https://api.github.com/repos/dart-lang/polymer-dart/issues/651","labels_url":"https://api.github.com/repos/dart-lang/polymer-dart/issues/651/labels{/name}","comments_url":"https://api.github.com/repos/dart-lang/polymer-dart/issues/651/comments","events_url":"https://api.github.com/repos/dart-lang/polymer-dart/issues/651/events","html_url":"https://github.com/dart-lang/polymer-dart/issues/651","id":118713716,"number":651,"title":"No more working with `reflectable` version 0.3.4","user":{"login":"dam0vm3nt","id":2409466,"avatar_url":"https://avatars.githubusercontent.com/u/2409466?v=3","gravatar_id":"","url":"https://api.github.com/users/dam0vm3nt","html_url":"https://github.com/dam0vm3nt","followers_url":"https://api.github.com/users/dam0vm3nt/followers","following_url":"https://api.github.com/users/dam0vm3nt/following{/other_user}","gists_url":"https://api.github.com/users/dam0vm3nt/gists{/gist_id}","starred_url":"https://api.github.com/users/dam0vm3nt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dam0vm3nt/subscriptions","organizations_url":"https://api.github.com/users/dam0vm3nt/orgs","repos_url":"https://api.github.com/users/dam0vm3nt/repos","events_url":"https://api.github.com/users/dam0vm3nt/events{/privacy}","received_events_url":"https://api.github.com/users/dam0vm3nt/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":30,"created_at":"2015-11-24T22:07:33Z","updated_at":"2015-12-02T11:32:56Z","closed_at":"2015-11-30T18:16:43Z","body":"Since `reflectable` version `0.3.4` annotating properties of type `List` with `@property` leads to the following exception :\r\n```\r\n Uncaught Unhandled exception:\r\nUnsupported operation: Cannot provide `reflectedType` of instance of generic type 'List'.\r\n#0      InstantiatedGenericClassMirrorImpl.reflectedType (package:reflectable/src/reflectable_transformer_based.dart:713:5)\r\n#1      _getPropertyInfoForType (package:polymer/src/common/polymer_descriptor.dart:210:46)\r\n#2      _buildPropertiesObject.<anonymous closure> (package:polymer/src/common/polymer_descriptor.dart:58:24)\r\n#3      _HashVMBase&MapMixin&&_LinkedHashMapMixin.forEach (dart:collection-patch/compact_hash.dart:340)\r\n#4      _buildPropertiesObject (package:polymer/src/common/polymer_descriptor.dart:56:16)\r\n#5      createPolymerDescriptor (package:polymer/src/common/polymer_descriptor.dart:26:19)\r\n#6      PolymerRegister.initialize (package:polymer/src/common/polymer_register.dart:19:36)\r\n#7      loadInitializers.<anonymous closure>.<anonymous closure> (package:initialize/src/static_loader.dart:46:32)\r\n#8      _runInitQueue (package:initialize/initialize.dart:35:24)\r\n#9      _runInitQueue.<anonymous closure> (package:initialize/initialize.dart:38:26)\r\n#10     _RootZone.runUnary (dart:async/zone.dart:1149)\r\n#11     _Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:502)\r\n#12     _Future._propagateToListeners (dart:async/future_impl.dart:585)\r\n#13     _Future._completeWithValue (dart:async/future_impl.dart:376)\r\n#14     _Future._asyncComplete.<anonymous closure> (dart:async/future_impl.dart:430)\r\n#15     _microtaskLoop (dart:async/schedule_microtask.dart:43)\r\n#16     _microtaskLoopEntry (dart:async/schedule_microtask.dart:52)\r\n#17     _ScheduleImmediateHelper._handleMutation (dart:html:49298)\r\n#18     MutationObserver._create.<anonymous closure> (dart:html:27545)\r\n```\r\n\r\nFor example with : \r\n\r\n```html\r\n<dom-module id=\"example-list\">\r\n <template>\r\n   <h1>hello</h1>\r\n </template>\r\n</dom-module>\r\n```\r\n\r\nand dart : \r\n```dart\r\n@PolymerRegister(\"example-list\")\r\nclass ExampleList extends PolymerElement {\r\n  @property List<String> values = [\r\n\t\"one\",\r\n\t\"two\",\r\n\t\"three\"\r\n\t];\r\n  ExampleList.created() : super.created();\r\n}\r\n\r\n```\r\n\r\nwhile forcing to version `0.3.3` make it work again."},"comment":{"url":"https://api.github.com/repos/dart-lang/polymer-dart/issues/comments/161267393","html_url":"https://github.com/dart-lang/polymer-dart/issues/651#issuecomment-161267393","issue_url":"https://api.github.com/repos/dart-lang/polymer-dart/issues/651","id":161267393,"user":{"login":"dam0vm3nt","id":2409466,"avatar_url":"https://avatars.githubusercontent.com/u/2409466?v=3","gravatar_id":"","url":"https://api.github.com/users/dam0vm3nt","html_url":"https://github.com/dam0vm3nt","followers_url":"https://api.github.com/users/dam0vm3nt/followers","following_url":"https://api.github.com/users/dam0vm3nt/following{/other_user}","gists_url":"https://api.github.com/users/dam0vm3nt/gists{/gist_id}","starred_url":"https://api.github.com/users/dam0vm3nt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dam0vm3nt/subscriptions","organizations_url":"https://api.github.com/users/dam0vm3nt/orgs","repos_url":"https://api.github.com/users/dam0vm3nt/repos","events_url":"https://api.github.com/users/dam0vm3nt/events{/privacy}","received_events_url":"https://api.github.com/users/dam0vm3nt/received_events","type":"User","site_admin":false},"created_at":"2015-12-02T11:32:56Z","updated_at":"2015-12-02T11:32:56Z","body":"@eernstg wonderful, sorry I didn't saw your reply before posting the new issue #653 ... but there you can find more info that maybe can help you to find the problem."}}