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

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

Issue 14404004: Throw NoSuchMethod or ArgumentError instead of generating a bailout, when we know the next instruct… (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 years, 8 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/mock_compiler.dart ('k') | tests/language/bailout8_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/compiler/dart2js/type_inference_test.dart
===================================================================
--- tests/compiler/dart2js/type_inference_test.dart (revision 21860)
+++ tests/compiler/dart2js/type_inference_test.dart (working copy)
@@ -111,6 +111,7 @@
generated = compile(TEST_SIX, entry: 'foo');
regexp = new RegExp('a.constructor !== Array');
Expect.isTrue(regexp.hasMatch(generated));
- Expect.isTrue(!generated.contains('index'));
+ Expect.isTrue(!generated.contains('index(0)'));
+ Expect.isTrue(!generated.contains('index(1)'));
Expect.isTrue(!generated.contains('indexSet'));
}
« no previous file with comments | « tests/compiler/dart2js/mock_compiler.dart ('k') | tests/language/bailout8_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698