Coder Social home page Coder Social logo

Comments (7)

jakemac53 avatar jakemac53 commented on July 19, 2024

Interesting were there any errors in the transformer?

from reflectable.dart.

zoechi avatar zoechi commented on July 19, 2024

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.

sigurdm avatar sigurdm commented on July 19, 2024

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.

zoechi avatar zoechi commented on July 19, 2024

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.

eernstg avatar eernstg commented on July 19, 2024

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.

sigurdm avatar sigurdm commented on July 19, 2024

I managed to reproduce (sorry I somehow got the wrong branch), and will try to work on a fix tomorrow

from reflectable.dart.

sigurdm avatar sigurdm commented on July 19, 2024

This seems to have been fixed by a468609 can you confirm?

from reflectable.dart.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.