playif / play_phaser

A Dart port for Phaser 2D game engine.
MIT License
72 stars 13 forks source link

dart2js Uncaught NoSuchMethodError : method not found: 'Symbol("transitionStep")' #17

Closed oxysoft closed 9 years ago

oxysoft commented 9 years ago

This seems to be caused somewhere by tweens when trying to access a variable using reflection I think. This is rather urgent because my Ludum Dare game is unplayable right now because of that

edit: it seems that getters and setters are not supported with dart2js' mirrors?

playif commented 9 years ago

Hi @oxysoft Could you please provide some code for helping me to reproduce the problem? So that I can fix the bug as soon as possible.

By the way, for you own built class property, you may need to use


@MirrorsUsed(targets: const [YOURCLASS,YOURCLASS2],  override: '*')
import "dart:mirrors";

in your package.

oxysoft commented 9 years ago

Thanks, that has indeed fixed the issue