Chromium Code Reviews| Index: tests/language/src/StaticFinalFieldTest.dart |
| diff --git a/tests/language/src/StaticFinalFieldTest.dart b/tests/language/src/StaticFinalFieldTest.dart |
| index ecedd6ea00023c327f6b44f7a5c8ae775fa92daf..7cd433372770078d28affd5332b6c2e7b06c3d65 100644 |
| --- a/tests/language/src/StaticFinalFieldTest.dart |
| +++ b/tests/language/src/StaticFinalFieldTest.dart |
| @@ -29,7 +29,8 @@ class A implements Switzerland { |
| static final architect1 = Spain.AG; |
| static final array1 = const <int>[1, 2]; |
| static final map1 = const {"Monday": 1, "Tuesday": 2, }; |
| - static final map2 = const {"$s1$s3": b}; |
| + // Compile time constants don't allow string interpolation. |
|
ngeoffray
2011/10/14 09:26:56
I have CC'ed Matthias to make sure he's aware of t
zundel
2011/10/14 10:04:21
For the negative test, see tringInterpolate7Negati
ngeoffray
2011/10/14 10:33:42
Apologies for the "never got a response". Gilad is
zundel
2011/10/14 20:59:52
I am going ahead and allowing them since the VM do
hausner
2011/10/14 22:20:24
I was told that string interpolation should not be
|
| + // static final map2 = const {"$s1$s3": b}; |
| } |
| class StaticFinalFieldTest { |
| @@ -47,7 +48,7 @@ class StaticFinalFieldTest { |
| Expect.equals(true, A.artist2 == "Alberto Giacometti"); |
| Expect.equals(true, A.architect1 == "Antoni Gaudi"); |
| Expect.equals(2, A.map1["Tuesday"]); |
| - Expect.equals(8, A.map2["hulahop"]); |
| + // Expect.equals(8, A.map2["hulahop"]); |
| } |
| } |