Index: tests/language/src/StringInterpolate7NegativeTest.dart |
diff --git a/compiler/javatests/com/google/dart/compiler/end2end/inc/myother1.dart b/tests/language/src/StringInterpolate7NegativeTest.dart |
similarity index 53% |
copy from compiler/javatests/com/google/dart/compiler/end2end/inc/myother1.dart |
copy to tests/language/src/StringInterpolate7NegativeTest.dart |
index 98c9f1b688f54508181508660d8181d55f19e8dd..dada949f16e2adb9240cfe563a2cf164f9c072b1 100644 |
--- a/compiler/javatests/com/google/dart/compiler/end2end/inc/myother1.dart |
+++ b/tests/language/src/StringInterpolate7NegativeTest.dart |
@@ -1,11 +1,12 @@ |
// 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. |
+// Dart test program testing string interpolation. |
-class Other1 { |
- // The existence of this final triggers b/5078969. |
- static final Function FN = () { return 42; }; |
+class A { |
+ static final String A = "World"; |
+ static final String msg = "Hello $A"; // not allowed in compile time constant |
floitsch
2011/10/14 22:46:15
80 chars.
zundel
2011/10/17 02:56:02
Done.
|
+} |
- Other1() { } |
- void newMethod() { } |
+main () { |
} |