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

Unified Diff: lib/src/checker/dart_sdk.dart

Issue 1055923002: Don't call dinvoke on Object methods (Closed) Base URL: https://github.com/dart-lang/dev_compiler.git@master
Patch Set: Refactor dynamic target logic Created 5 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
Index: lib/src/checker/dart_sdk.dart
diff --git a/lib/src/checker/dart_sdk.dart b/lib/src/checker/dart_sdk.dart
index a8649a9df4e4ca6a4f43677de33af49de3e23f7d..5a66e480aa75e776380911453e04ee083f2d7aa7 100644
--- a/lib/src/checker/dart_sdk.dart
+++ b/lib/src/checker/dart_sdk.dart
@@ -110,6 +110,8 @@ final Map<String, String> mockSdkSources = {
void print(Object o) {}
class Object {
+ int get hashCode {}
+ Type get runtimeType {}
String toString(){}
}
class Function {}

Powered by Google App Engine
This is Rietveld 408576698