blob: 10cdb88f50160458c71b3c351bcbc0c2d14f4b5f [file] [log] [blame]
library;
//
// Problems in library:
//
// pkg/front_end/testcases/nnbd/issue39659.dart:8:9: Error: Can't throw a value of 'String?' since it is neither dynamic nor non-nullable.
// throw bar();
// ^
//
import self as self;
import "dart:core" as core;
static method foo() dynamic {
invalid-expression "pkg/front_end/testcases/nnbd/issue39659.dart:8:9: Error: Can't throw a value of 'String?' since it is neither dynamic nor non-nullable.
throw bar();
^";
}
static method bar() core::String?
return "asdf";
static method main() dynamic {}