Index: tests/compiler/dart2js/is_inference_test.dart |
=================================================================== |
--- tests/compiler/dart2js/is_inference_test.dart (revision 11349) |
+++ tests/compiler/dart2js/is_inference_test.dart (working copy) |
@@ -4,7 +4,7 @@ |
#import("compiler_helper.dart"); |
-final String TEST_IF = @""" |
+const String TEST_IF = @""" |
test(param) { |
if (param is int) { |
param = param + 42; |
@@ -13,7 +13,7 @@ |
} |
"""; |
-final String TEST_IF_ELSE = @""" |
+const String TEST_IF_ELSE = @""" |
test(param) { |
if (param is int) { |
param = param + 42; |
@@ -24,7 +24,7 @@ |
} |
"""; |
-final String TEST_IF_RETURN = @""" |
+const String TEST_IF_RETURN = @""" |
test(param) { |
if (param is int) { |
return param + 42; |
@@ -33,7 +33,7 @@ |
} |
"""; |
-final String TEST_IF_NOT_ELSE = @""" |
+const String TEST_IF_NOT_ELSE = @""" |
test(param) { |
if (param is !int) { |
param = param + 53; |
@@ -44,14 +44,14 @@ |
} |
"""; |
-final String TEST_IF_NOT_RETURN = @""" |
+const String TEST_IF_NOT_RETURN = @""" |
test(param) { |
if (param is !int) return param + 53; |
return param + 42; |
} |
"""; |
-final String TEST_IF_NOT_ELSE_RETURN = @""" |
+const String TEST_IF_NOT_ELSE_RETURN = @""" |
test(param) { |
if (param is !int) { |
return param + 53; |