-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Closed
Labels
area-pkgUsed for miscellaneous pkg/ packages not associated with specific area- teams.Used for miscellaneous pkg/ packages not associated with specific area- teams.pkg-dynamic-modulestype-bugIncorrect behavior (everything from a crash to more subtle misbehavior)Incorrect behavior (everything from a crash to more subtle misbehavior)
Description
The tests
dynamic_modules_suite/multiple_classes CompileTimeError (expected Pass)
are failing on configurations
vm-aot-dyn-linux-debug-x64
Error on compile bytecode multiple_classes/modules/entry2.dart: /b/s/w/ir/cache/builder/sdk/out/DebugX64/dartaotruntime --disable-dart-dev /b/s/w/ir/cache/builder/sdk/out/DebugX64/gen/dart2bytecode.dart.snapshot --platform /b/s/w/ir/cache/builder/sdk/out/DebugX64/vm_platform_strong.dill --target vm --packages /b/s/w/ir/cache/builder/sdk//.dart_tool/package_config.json -Ddart.vm.profile=false -Ddart.vm.product=true --import-dill main.dart_no_aot.dill --validate dev-dart-app:/data/multiple_classes/dynamic_interface.yaml --verbosity=all --filesystem-root /b/s/w/ir/cache/builder/sdk/pkg/dynamic_modules/test/ --filesystem-scheme dev-dart-app --output modules/entry2.dart.bytecode dev-dart-app:/data/multiple_classes/modules/entry2.dart from /b/s/w/ir/x/t/_dynamic_module-FPFOMJ/multiple_classes
stdout:
dev-dart-app:/data/multiple_classes/modules/entry2.dart:8:4: Error: Cannot invoke member 'override' from a dynamic module.
Try removing the call or update the dynamic interface to list member 'override' as callable.
@override
^
dev-dart-app:/data/multiple_classes/modules/entry2.dart:9:19: Error: Cannot use class 'String' in a dynamic module.
Try removing the reference to class 'String' or update the dynamic interface to list class 'String' as callable.
String getString() => 'C';
^
stderr:
#0 runProcess (file:///b/s/w/ir/cache/builder/sdk/pkg/dynamic_modules/test/runner/util.dart:151:5)
<asynchronous suspension>
#1 AotExecutor.compileDynamicModule (file:///b/s/w/ir/cache/builder/sdk/pkg/dynamic_modules/test/runner/aot.dart:140:5)
<asynchronous suspension>
#2 _runSingleTest (file:///b/s/w/ir/cache/builder/sdk/pkg/dynamic_modules/test/runner/main.dart:86:7)
<asynchronous suspension>
#3 main (file:///b/s/w/ir/cache/builder/sdk/pkg/dynamic_modules/test/runner/main.dart:64:19)
<asynchronous suspension>
/cc @natebiggs
Metadata
Metadata
Assignees
Labels
area-pkgUsed for miscellaneous pkg/ packages not associated with specific area- teams.Used for miscellaneous pkg/ packages not associated with specific area- teams.pkg-dynamic-modulestype-bugIncorrect behavior (everything from a crash to more subtle misbehavior)Incorrect behavior (everything from a crash to more subtle misbehavior)