blob: 7ee30843d1a50ad3637f277393f1ad79a4b2c333 [file] [log] [blame]
library test;
//
// Problems in library:
//
// pkg/front_end/testcases/inference/generic_methods_inference_error.dart:13:11: Error: A value of type 'double' can't be assigned to a variable of type 'String'.
// 1.0);
// ^
//
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 Never* #t1 = invalid-expression "pkg/front_end/testcases/inference/generic_methods_inference_error.dart:13:11: Error: A value of type 'double' can't be assigned to a variable of type 'String'.
1.0);
^" in 1.0 as{TypeError} core::String*);
}
static method main() → dynamic {}