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

Unified Diff: tests/language/inst_field_initializer1_negative_test.dart

Issue 11783009: Big merge from experimental to bleeding edge. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 11 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/language/index_test.dart ('k') | tests/language/instanceof2_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/language/inst_field_initializer1_negative_test.dart
diff --git a/tests/language/inst_field_initializer1_negative_test.dart b/tests/language/inst_field_initializer1_negative_test.dart
index 44fcca13a110b64aaf788a5e9f9cffd311aec8ff..1c56eb0fa8f98251115fbced235f6088ccaaa0af 100644
--- a/tests/language/inst_field_initializer1_negative_test.dart
+++ b/tests/language/inst_field_initializer1_negative_test.dart
@@ -7,7 +7,7 @@
class A {
A() {}
int x = 5;
- int arr = new List(x); // Illegal access to 'this'.
+ int arr = new List.fixedLength(x); // Illegal access to 'this'.
// Also not a compile const expression.
}
« no previous file with comments | « tests/language/index_test.dart ('k') | tests/language/instanceof2_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698