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

Side by Side Diff: sdk/lib/_internal/compiler/js_lib/interceptors.dart

Issue 1187553005: Revert "Better messages for optimized index errors." (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Created 5 years, 6 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
« no previous file with comments | « no previous file | sdk/lib/_internal/compiler/js_lib/js_array.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 library _interceptors; 5 library _interceptors;
6 6
7 import 'dart:_js_embedded_names' show 7 import 'dart:_js_embedded_names' show
8 DISPATCH_PROPERTY_NAME, 8 DISPATCH_PROPERTY_NAME,
9 TYPE_TO_INTERCEPTOR_MAP; 9 TYPE_TO_INTERCEPTOR_MAP;
10 10
11 import 'dart:collection'; 11 import 'dart:collection';
12 import 'dart:_internal' hide Symbol; 12 import 'dart:_internal' hide Symbol;
13 import "dart:_internal" as _symbol_dev show Symbol; 13 import "dart:_internal" as _symbol_dev show Symbol;
14 import 'dart:_js_helper' show allMatchesInStringUnchecked, 14 import 'dart:_js_helper' show allMatchesInStringUnchecked,
15 Null, 15 Null,
16 JSSyntaxRegExp, 16 JSSyntaxRegExp,
17 Primitives, 17 Primitives,
18 checkInt, 18 checkInt,
19 checkNull, 19 checkNull,
20 checkNum, 20 checkNum,
21 checkString, 21 checkString,
22 defineProperty, 22 defineProperty,
23 diagnoseIndexError,
24 getRuntimeType, 23 getRuntimeType,
25 initNativeDispatch, 24 initNativeDispatch,
26 initNativeDispatchFlag, 25 initNativeDispatchFlag,
27 regExpGetNative, 26 regExpGetNative,
28 regExpCaptureCount, 27 regExpCaptureCount,
29 stringContainsUnchecked, 28 stringContainsUnchecked,
30 stringIndexOfStringUnchecked, 29 stringIndexOfStringUnchecked,
31 stringLastIndexOfUnchecked, 30 stringLastIndexOfUnchecked,
32 stringReplaceAllFuncUnchecked, 31 stringReplaceAllFuncUnchecked,
33 stringReplaceAllUnchecked, 32 stringReplaceAllUnchecked,
(...skipping 367 matching lines...) Expand 10 before | Expand all | Expand 10 after
401 * Interceptor for unclassified JavaScript objects, typically objects with a 400 * Interceptor for unclassified JavaScript objects, typically objects with a
402 * non-trivial prototype chain. 401 * non-trivial prototype chain.
403 * 402 *
404 * This class also serves as a fallback for unknown JavaScript exceptions. 403 * This class also serves as a fallback for unknown JavaScript exceptions.
405 */ 404 */
406 class UnknownJavaScriptObject extends JavaScriptObject { 405 class UnknownJavaScriptObject extends JavaScriptObject {
407 const UnknownJavaScriptObject(); 406 const UnknownJavaScriptObject();
408 407
409 String toString() => JS('String', 'String(#)', this); 408 String toString() => JS('String', 'String(#)', this);
410 } 409 }
OLDNEW
« no previous file with comments | « no previous file | sdk/lib/_internal/compiler/js_lib/js_array.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698