blob: 1e283f011a228a5d367e1aefc1207d6d6f9904c9 [file] [log] [blame]
library test;
import self as self;
import "dart:core" as core;
static method f() void {
core::List<core::String> y;
core::Iterable<core::String> x = y.{core::Iterable::map}<core::String>((core::String z) core::String => let final<BottomType> #t1 = invalid-expression "pkg/front_end/testcases/inference/generic_methods_inference_error.dart:13:11: Error: A value of type 'dart.core::double' can't be assigned to a variable of type 'dart.core::String'.
Try changing the type of the left hand side, or casting the right hand side to 'dart.core::String'.
1.0);
^" in 1.0 as{TypeError} core::String);
}
static method main() → dynamic {}