blob: f729d36a8ea9786d9be612a9b8d443032bace752 [file]
// Copyright (c) 2017, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
library test;
void f(List<String> y) {
Iterable<String> x = y.map(
// error:ARGUMENT_TYPE_NOT_ASSIGNABLE
(String z) => 1.0,
);
}
main() {}