Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

My version is Dart 2.x ready, uses reflectable and is strong_mode compliant #39

Open
MikeMitterer opened this issue Jun 7, 2018 · 6 comments

Comments

@MikeMitterer
Copy link

Hi Greg, I forked your version a couple of hours ago and made it D2.x ready, strong_mode compliant. My version uses reflectable 2.x - so no mirrors!

All tests are on green

pub run build_runner test
pub run build_runner test -- -p chrome

Browser-sample works - webdev serve

I trie to make a PR but somehow it fails...
Here is my version: https://github.com/MikeMitterer/mustache

Maybe you can clone it to an extra branch on your side, check it out, and... :-))), if everything is OK on your side, release it to pub

@xxgreg
Copy link
Owner

xxgreg commented Jun 7, 2018 via email

@MikeMitterer
Copy link
Author

MikeMitterer commented Jun 8, 2018

Why do you think this is necessary? I mean two entry points? All your VM examples work fine e.g.
dart lambdas.dart Have you tried my version? There is no need for mirrors anymore...

@blasten
Copy link

blasten commented May 1, 2019

@xxgreg I'm happy to create the two entry points as you suggested. How does that sound? We need this in the Flutter tool see flutter/flutter#31803

@xxgreg
Copy link
Owner

xxgreg commented May 1, 2019

Sounds good to me.

@luaVolk
Copy link

luaVolk commented Jun 12, 2019

Any word on this? Id like to convert my project to aot but cant currently because of mustache

@xxgreg
Copy link
Owner

xxgreg commented Jun 12, 2019

If you're just using maps and don't need reflection, it's a pretty minimal change to remove the mirrors support. See: Rendered._getNamedProperty()

Apologies I can't be of more help.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants