blob: b21df2eb7fc82fc9b8e354687a5ba9000d81fc85 [file] [log] [blame]
// Formatted problems:
//
// 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);
// ^
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 {}