MichaelFenwick / Color

A simple Dart package exposing a Color class which can be used to create, convert, and compare colors.
http://pub.dartlang.org/packages/color
MIT License
52 stars 18 forks source link

Error when using dart2js trust types & primitives #15

Closed jimmyff closed 3 years ago

jimmyff commented 7 years ago

If I run dart2js with commandLineOptions: ['--trust-type-annotations', '--trust-primitives']

I get the following error:

Uncaught Error: NoSuchMethodError: method not found: 'toHslColor$0' (color.toHslColor$0 is not a function)
MichaelFenwick commented 3 years ago

Closing as this does not occur any longer when using the latest version of the package.