File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed
pkg/_js_interop_checks/lib/src/transformations Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -125,7 +125,6 @@ class ExportChecker {
125
125
cls.name.length,
126
126
cls.location? .file,
127
127
);
128
- exportStatus[cls.reference] = ExportStatus .exportError;
129
128
}
130
129
131
130
_collectOverrides (cls);
Original file line number Diff line number Diff line change @@ -11,7 +11,9 @@ import 'package:expect/legacy/minitest.dart'; // ignore: deprecated_member_use_f
11
11
import 'package:js/js_util.dart' ;
12
12
13
13
// Test exporting all vs. only some members.
14
- @JSExport ()
14
+ // Also test using a non-empty `@JSExport` annotation on a class, which should
15
+ // be a warning but should not prevent code generation.
16
+ @JSExport ('A' )
15
17
class ExportAll {
16
18
ExportAll .constructor ();
17
19
factory ExportAll .factory () => ExportAll .constructor ();
You can’t perform that action at this time.
0 commit comments