Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1410)

Unified Diff: tests/compiler/dart2js/unparser2_test.dart

Issue 2944843002: All strong mode cleaning of dart2js. (Closed)
Patch Set: More issues discovered during testing. Created 3 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « tests/compiler/dart2js/type_test_helper.dart ('k') | tests/utils/analysis_options.yaml » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/compiler/dart2js/unparser2_test.dart
diff --git a/tests/compiler/dart2js/unparser2_test.dart b/tests/compiler/dart2js/unparser2_test.dart
index d3ede31fcae7108b2a2d4b044c9d8f8d5f12d653..458b6f37f476f500611ac3e55e397dcfac497b24 100644
--- a/tests/compiler/dart2js/unparser2_test.dart
+++ b/tests/compiler/dart2js/unparser2_test.dart
@@ -102,7 +102,7 @@ class MessageCollector extends DiagnosticReporter {
MessageCollector() {
messages = [];
}
- void internalError(node, String reason) {
+ void internalError(node, covariant String reason) {
messages.add(reason);
throw reason;
}
« no previous file with comments | « tests/compiler/dart2js/type_test_helper.dart ('k') | tests/utils/analysis_options.yaml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698