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

Unified Diff: language/src/CTConst2Test.dart

Issue 9121014: Fix broken tests: (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/tests/
Patch Set: Created 8 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
Index: language/src/CTConst2Test.dart
===================================================================
--- language/src/CTConst2Test.dart (revision 3052)
+++ language/src/CTConst2Test.dart (working copy)
@@ -1,6 +1,8 @@
// Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
+// VMOptions=
+// VMOptions=--compile_all
// Exercises language constructs that require compile time constants
@@ -13,8 +15,6 @@
final n = null;
final aList = const[1, 2, 3]; // array literal
final aMap = const { "1": "one", "2": "banana" }; // map literal
-final value0 = aList[0]; // array access
-final value1 = aList[i];
final INT_LIT = 5;
final INT_LIT_REF = INT_LIT;

Powered by Google App Engine
This is Rietveld 408576698