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

Side by Side Diff: test/generated_sdk/lib/core/object.dart

Issue 1100633006: Generate static calls for Object fields and methods (Closed) Base URL: https://github.com/dart-lang/dev_compiler.git@master
Patch Set: Better static dispatch check 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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 part of dart.core; 5 part of dart.core;
6 6
7 /** 7 /**
8 * The base class for all Dart objects. 8 * The base class for all Dart objects.
9 * 9 *
10 * Because Object is the root of the Dart class hierarchy, 10 * Because Object is the root of the Dart class hierarchy,
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after
91 throw new NoSuchMethodError( 91 throw new NoSuchMethodError(
92 this, 92 this,
93 invocation.memberName, 93 invocation.memberName,
94 invocation.positionalArguments, 94 invocation.positionalArguments,
95 invocation.namedArguments); 95 invocation.namedArguments);
96 } 96 }
97 97
98 /** 98 /**
99 * A representation of the runtime type of the object. 99 * A representation of the runtime type of the object.
100 */ 100 */
101 Type get runtimeType => getRuntimeType(this); 101 Type get runtimeType => JS('Type', 'dart.realRuntimeType(#)', this);
102 } 102 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698