Commit Graph

2 Commits

Author SHA1 Message Date
Paul Berry 5b091427d0 Strong mode fix for param2_test.dart
forEach will be passed functions of type `(int) -> int`, so its
signature needs to accept them; previously its signature only accepted
`(dynamic) -> int` (a more specific type).

Change-Id: Ibe7116f05d3c9d73f01c090836a9b11bb7dcf597
Reviewed-on: https://dart-review.googlesource.com/19221
Reviewed-by: Phil Quitslund <pquitslund@google.com>
Commit-Queue: Paul Berry <paulberry@google.com>
2017-11-08 18:36:50 +00:00
pq dd069fc800 Migrate test block 142 to Dart 2.0.
Bug:
Change-Id: I358bcf6d7d3d4c78b572ed4bbcb05696c47268cc
Reviewed-on: https://dart-review.googlesource.com/10640
Reviewed-by: Ben Konyi <bkonyi@google.com>
2017-10-03 20:00:27 +00:00