blob: 5d169f79e2d5b673f64e26e328066327d8a0f217 [file] [log] [blame]
library;
//
// Problems in library:
//
// pkg/front_end/testcases/nnbd/issue39659.dart:8:9: Warning: Throwing a value of 'String?' that is neither dynamic nor non-nullable.
// throw bar();
// ^
//
import self as self;
import "dart:core" as core;
static method foo() dynamic {
throw self::bar();
}
static method bar() core::String?
return "asdf";
static method main() dynamic {}