Chromium Code Reviews| Index: language/src/ConstInit7NegativeTest.dart |
| =================================================================== |
| --- language/src/ConstInit7NegativeTest.dart (revision 3052) |
| +++ language/src/ConstInit7NegativeTest.dart (working copy) |
| @@ -2,8 +2,9 @@ |
| // 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. |
| // Check that a method reference is not an acceptable compile time constant |
| +// VMOptions= |
| +// VMOptions=--compile_all |
|
vsm
2012/01/06 21:41:42
Is this actually used by the test script?
Ivan Posva
2012/01/06 21:45:15
staine[runtime] ../tools/test.py --verbose languag
|
| - |
| topMethod() { } |
| class ConstInit7NegativeTest { |
| @@ -13,5 +14,5 @@ |
| } |
| main() { |
| - new ConstInit7NegativeTest(); |
| + (new ConstInit7NegativeTest()).classMethod(); |
| } |