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

Unified Diff: lib/src/dart_sdk.dart

Issue 1137543005: Type check binary expressions (Closed) Base URL: https://github.com/dart-lang/dev_compiler.git@master
Patch Set: Rebase and remove assert Created 5 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: lib/src/dart_sdk.dart
diff --git a/lib/src/dart_sdk.dart b/lib/src/dart_sdk.dart
index f6c9a3527e5357d758e55a542af81080ae34ed27..6818f952ae46da60cc4afc3c4cf12e156bf9dc50 100644
--- a/lib/src/dart_sdk.dart
+++ b/lib/src/dart_sdk.dart
@@ -113,18 +113,22 @@ final Map<String, String> mockSdkSources = {
int get hashCode {}
Type get runtimeType {}
String toString(){}
+ bool ==(other){}
}
class Function {}
class StackTrace {}
class Symbol {}
class Type {}
- class String {}
+ class String {
+ String operator +(String other) {}
+ }
class bool {}
class num {
num operator +(num other) {}
}
class int extends num {
+ bool operator<(num other) {}
int operator-() {}
}
class double extends num {}

Powered by Google App Engine
This is Rietveld 408576698