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

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

Issue 14890026: Handle switch statement in simple types inferrer. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 years, 7 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
Index: tests/compiler/dart2js/mock_compiler.dart
===================================================================
--- tests/compiler/dart2js/mock_compiler.dart (revision 22849)
+++ tests/compiler/dart2js/mock_compiler.dart (working copy)
@@ -97,6 +97,7 @@
var length;
operator[](index) {}
toString() {}
+ operator+(other) => this;
}
class JSNumber extends Interceptor implements num {
// All these methods return a number to please type inferencing.

Powered by Google App Engine
This is Rietveld 408576698