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

Unified Diff: tests/isolate/compile_time_error_test.dart

Issue 2141023002: Make initializing formal access available by default (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Additional clean-up, now ready to land Created 4 years, 1 month 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 | « pkg/compiler/lib/src/typechecker.dart ('k') | tests/language/initializing_formal_type_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/isolate/compile_time_error_test.dart
diff --git a/tests/isolate/compile_time_error_test.dart b/tests/isolate/compile_time_error_test.dart
index 4bb70c7d42b95b3d5861290a6b6ccfacef77d937..8450630e8101229c3819981a37a480844106a658 100644
--- a/tests/isolate/compile_time_error_test.dart
+++ b/tests/isolate/compile_time_error_test.dart
@@ -14,7 +14,7 @@ class TestClass {
TestClass.named(num this.fld1)
// Should cause a compilation error (for the spawned isolate). It is a
// runtime error for the test.
- : fld2 = fld1 /// 01: compile-time error
+ : fld2 = this.fld1 /// 01: compile-time error
;
num fld1;
num fld2;
« no previous file with comments | « pkg/compiler/lib/src/typechecker.dart ('k') | tests/language/initializing_formal_type_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698