Files
sdk/pkg/front_end/testcases/expression/lib_external_ctor.expression.yaml.expect
T
Chloe Stefantsova 1a8b1370a0 [cfe] Don't emit throw of AbstractClassInstantiationError
Change-Id: I4e464bdf1decf8484cd042e973e916b5aa3b8d1c
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/271960
Commit-Queue: Chloe Stefantsova <cstefantsova@google.com>
Reviewed-by: Johnni Winther <johnniwinther@google.com>
2022-11-24 16:35:51 +00:00

11 lines
496 B
Plaintext

Errors: {
org-dartlang-debug:synthetic_debug_expression:1:10: Error: The class 'Process' is abstract and can't be instantiated.
() { new Process(); new File.fromUri(Uri.parse("file://test.dart")); }
^^^^^^^
}
method /* from org-dartlang-debug:synthetic_debug_expression */ debugExpr() → dynamic
return () → Null {
invalid-expression "The class 'Process' is abstract and can't be instantiated.";
dart.io::File::fromUri(dart.core::Uri::parse("file://test.dart"));
};