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

Unified Diff: tests/compiler/dart2js_extra/this_phi_elimination_test.dart

Issue 10827397: String+ does not exist anymore. Fix issue #3857. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years, 4 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_extra/dart2js_extra.status ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/compiler/dart2js_extra/this_phi_elimination_test.dart
===================================================================
--- tests/compiler/dart2js_extra/this_phi_elimination_test.dart (revision 10872)
+++ tests/compiler/dart2js_extra/this_phi_elimination_test.dart (working copy)
@@ -5,7 +5,7 @@
class A {
foo(a) {
while (false) {
- // This call will make the builder want to put this as a phi.
+ // This call will make the builder want to put [this] as a phi.
foo(0);
}
// This computation makes sure there will be a bailout version.
@@ -15,5 +15,5 @@
main() {
Expect.equals(42, new A().foo(0));
- Expect.equals("42", new A().foo(""));
+ Expect.throws(() => new A().foo(""), (e) => e is NoSuchMethodException);
}
« no previous file with comments | « tests/compiler/dart2js_extra/dart2js_extra.status ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698