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

Unified Diff: pkg/front_end/testcases/inference/no_error_when_declared_type_is_num_and_assigned_null.dart

Issue 2865623003: Implement type inference of constructor invocations in Fasta. (Closed)
Patch Set: Created 3 years, 7 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: pkg/front_end/testcases/inference/no_error_when_declared_type_is_num_and_assigned_null.dart
diff --git a/pkg/front_end/testcases/inference/no_error_when_declared_type_is_num_and_assigned_null.dart b/pkg/front_end/testcases/inference/no_error_when_declared_type_is_num_and_assigned_null.dart
index 865ad48263d25dbfb8c70953d9b5d1dbedd1f352..65b6822c58a5625ca21c8afcde89b045d6fb0649 100644
--- a/pkg/front_end/testcases/inference/no_error_when_declared_type_is_num_and_assigned_null.dart
+++ b/pkg/front_end/testcases/inference/no_error_when_declared_type_is_num_and_assigned_null.dart
@@ -9,3 +9,7 @@ test1() {
num x = 3;
x = null;
}
+
+main() {
+ test1();
+}

Powered by Google App Engine
This is Rietveld 408576698