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

Unified Diff: test/checker/checker_test.dart

Issue 977613002: Make int and double nullable by default (Closed) Base URL: https://github.com/dart-lang/dev_compiler.git@master
Patch Set: actually upload changes Created 5 years, 10 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
Index: test/checker/checker_test.dart
diff --git a/test/checker/checker_test.dart b/test/checker/checker_test.dart
index 49a7c4315bdc300f671c98bbdf194d44a8dfd2bb..8beca3212ed8a8024ff99fdd906091cd0172784c 100644
--- a/test/checker/checker_test.dart
+++ b/test/checker/checker_test.dart
@@ -85,7 +85,7 @@ main() {
b = true;
}
'''
- });
+ }, nonnullableTypes: <String>['int', 'double']);
});
test('Primitives and generics', () {
@@ -127,7 +127,7 @@ main() {
T foo() => /*warning:DownCastLiteral*/null;
}
'''
- });
+ }, nonnullableTypes: <String>['int', 'double']);
});
test('Constructors', () {

Powered by Google App Engine
This is Rietveld 408576698