Comments (7)
Interesting were there any errors in the transformer?
from reflectable.dart.
No, only in the browser console.
I run into the same issue here https://github.com/bwu-dart-contributing/polymer-dart-patterns/blob/0.17.0/web/forms/implementing_simple_validation/my_element.dart#L9
from reflectable.dart.
Thanks for the report!
I tried for a while to reproduce but did not manage.
It seems that implementing_simple_autocompletion
's entry-point is not added to the entry_points of the reflectable transformer in the pubspec.yaml
. Do I have to make some modifications from the 0.17 branch of https://github.com/bwu-dart-contributing/polymer-dart-patterns in order to reproduce the error you saw? Do you then run with pub serve
and dartium
?
from reflectable.dart.
It's the 0.17.0
branch not the 0.17
branch. Sorry for the confusion. There the entry-point is included.
from reflectable.dart.
Interesting! ;)
The path PolymerRegister.initialize -> createPolymerDescriptor -> _setupHostAttributes -> ClassMirrorImpl.staticMembers is exactly one of those that I've just tracked down. My next step was asking Jacob MacDonald for more information about the case where he is encountering an empty result from staticMembers
which might arise in that path. There might be a connection here.
from reflectable.dart.
I managed to reproduce (sorry I somehow got the wrong branch), and will try to work on a fix tomorrow
from reflectable.dart.
This seems to have been fixed by a468609 can you confirm?
from reflectable.dart.
Related Issues (20)
- Depth of Reflection HOT 4
- How to check declaration value type? HOT 2
- running in web / debug causes a reflection exception before loading HOT 3
- Bug: Reflectable doesn't work with latest analyzer 4.4.0 package HOT 3
- sdk minimal version should be 2.17.0 HOT 1
- Get annotation from enum field HOT 2
- Fails when upgrading
- 【macos】Attempt to `invoke` without class mirrors. HOT 1
- [Question] is it possible build an "Angular Style DI" library using Reflectable? HOT 1
- [question] - Is it possible to have Annotations with Parameters? HOT 2
- [Question] - how to get Constructor arguments? HOT 2
- [Bug?] ERROR: This requires the 'constructor-tearoffs' language feature to be enabled. HOT 12
- [Question] - Listening to Method invocation HOT 6
- [Question] - Stats on Bundle Sizes and Performance Implications/metrics of using Reflectable ? HOT 1
- Cannot reflect ```flutter/material.dart``` URIs for ```Container``` type HOT 12
- This reflector does not match anything HOT 11
- Reflectable is not a know builder HOT 1
- Unsupported operation: location HOT 4
- Reflectable don't find "main" but im using in my library not an application HOT 5
- How to generate code according to filter rules HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from reflectable.dart.