We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 489d86f + f20ada3 commit 53fcf65Copy full SHA for 53fcf65
test/factory/dart_function_factory_test.dart
@@ -31,7 +31,10 @@ main() {
31
expect(getJsFunctionName(FunctionFoo.reactFunction), '_FunctionFoo');
32
33
expect(FunctionFoo.displayName, getJsFunctionName(FunctionFoo.reactFunction));
34
- });
+ // There was a change in Dart 3.8.0 where `getProperty(object, 'name')` returns 'tear' for top-level functions in ddc.
35
+ // `getProperty` is deprecated in Dart 3 so we might move away from this functionality in the future.
36
+ // For now, we will just ignore this test in ddc.
37
+ }, tags: 'no-dartdevc');
38
39
test('is populated by the provided argument', () {
40
expect(NamedFunctionFoo.displayName, 'Bar');
0 commit comments