Dart2js Warning: library prefixes not handled

7 views
Skip to first unread message

Luke Church

unread,
Apr 12, 2012, 6:38:40 AM4/12/12
to General Dart Discussion
Folks,

Whenever I compile something with dart2js I get a bunch of warnings, some that seem fair, but one that is puzzling me is:

warning: library prefixes not handled.

Is this actually still true? I'm rather surprised that my code works at all if it is ignoring my prefixes....

How should I interpret this warning? If it's a legacy, can we remove it? Am I doing something wrong? Should I file a bug?

Luke

Karl Klose

unread,
Apr 12, 2012, 7:01:37 AM4/12/12
to Luke Church, General Dart Discussion
Hi Luke,

this warning is generated by the type-checker, which currently cannot
handle prefixes. You can ignore the warning for now, and I will fix
dart2js to not report it.

Karl

Luke Church

unread,
Apr 12, 2012, 7:02:32 AM4/12/12
to Karl Klose, General Dart Discussion
Thanks Karl
Reply all
Reply to author
Forward
0 new messages