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

Unified Diff: tests/compiler/dart2js/is_inference_test.dart

Issue 16944004: Change how we deal with manual inlining of argument error and NSM when propagating types. This chan… (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 years, 6 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
« no previous file with comments | « tests/compiler/dart2js/interceptor_test.dart ('k') | tests/compiler/dart2js/value_range_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/compiler/dart2js/is_inference_test.dart
===================================================================
--- tests/compiler/dart2js/is_inference_test.dart (revision 24017)
+++ tests/compiler/dart2js/is_inference_test.dart (working copy)
@@ -7,6 +7,7 @@
const String TEST_IF = r"""
test(param) {
+ print('Printing this ensures that String+ is in the system.');
if (param is int) {
param = param + 42;
}
@@ -16,6 +17,7 @@
const String TEST_IF_ELSE = r"""
test(param) {
+ print('Printing this ensures that String+ is in the system.');
if (param is int) {
param = param + 42;
} else {
@@ -27,6 +29,7 @@
const String TEST_IF_RETURN = r"""
test(param) {
+ print('Printing this ensures that String+ is in the system.');
if (param is int) {
return param + 42;
}
@@ -36,6 +39,7 @@
const String TEST_IF_NOT_ELSE = r"""
test(param) {
+ print('Printing this ensures that String+ is in the system.');
if (param is !int) {
param = param + 53;
} else {
@@ -47,6 +51,7 @@
const String TEST_IF_NOT_RETURN = r"""
test(param) {
+ print('Printing this ensures that String+ is in the system.');
if (param is !int) return param + 53;
return param + 42;
}
@@ -54,6 +59,7 @@
const String TEST_IF_NOT_ELSE_RETURN = r"""
test(param) {
+ print('Printing this ensures that String+ is in the system.');
if (param is !int) {
return param + 53;
} else {
« no previous file with comments | « tests/compiler/dart2js/interceptor_test.dart ('k') | tests/compiler/dart2js/value_range_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698