| Index: sdk/lib/_internal/compiler/implementation/lib/interceptors.dart
|
| diff --git a/sdk/lib/_internal/compiler/implementation/lib/interceptors.dart b/sdk/lib/_internal/compiler/implementation/lib/interceptors.dart
|
| index 63f4b4e008b709db9701802ebe74ed97815575b4..46d2977afd80102242b20e2bb6c1e941d8f22c1e 100644
|
| --- a/sdk/lib/_internal/compiler/implementation/lib/interceptors.dart
|
| +++ b/sdk/lib/_internal/compiler/implementation/lib/interceptors.dart
|
| @@ -2,9 +2,9 @@
|
| // for details. All rights reserved. Use of this source code is governed by a
|
| // BSD-style license that can be found in the LICENSE file.
|
|
|
| -#library('dart:_interceptors');
|
| +library _interceptors;
|
|
|
| -#import('dart:collection');
|
| +import 'dart:collection';
|
|
|
| /**
|
| * The interceptor class for [String]. The compiler recognizes this
|
| @@ -692,17 +692,17 @@ get$isOdd(receiver) {
|
|
|
| get$runtimeType(receiver) {
|
| if (receiver is int) {
|
| - return getOrCreateCachedRuntimeType('int');
|
| + return createRuntimeType('int');
|
| } else if (receiver is String) {
|
| - return getOrCreateCachedRuntimeType('String');
|
| + return createRuntimeType('String');
|
| } else if (receiver is double) {
|
| - return getOrCreateCachedRuntimeType('double');
|
| + return createRuntimeType('double');
|
| } else if (receiver is bool) {
|
| - return getOrCreateCachedRuntimeType('bool');
|
| + return createRuntimeType('bool');
|
| } else if (receiver == null) {
|
| - return getOrCreateCachedRuntimeType('Null');
|
| + return createRuntimeType('Null');
|
| } else if (isJsArray(receiver)) {
|
| - return getOrCreateCachedRuntimeType('List');
|
| + return createRuntimeType('List');
|
| } else {
|
| return UNINTERCEPTED(receiver.runtimeType);
|
| }
|
|
|