Closed
Description
Describe the issue you're seeing
anonymous annotation without external factory constructor would lead dart2js crash
NoSuchMethodError: method not found: 'orderedForEachParameter'
Receiver: null
Arguments: [Closure: (ParameterElement) => dynamic]
dart:core Object.noSuchMethod
Does it happen in Dartium or when compiled to JavaScript?
dart2js
- Dart SDK version: 1.13.0
- pkg/js version: 0.6.0
Failing code:
// or a link to a GitHub repo or gist.github.com
@JS()
@anonymous
class PolarOptions {
bool scaleShowLabelBackdrop;
}
void main() {
new PolarOptions();
}
Metadata
Metadata
Assignees
Labels
No labels