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

Side by Side Diff: pkg/dev_compiler/tool/input_sdk/private/ddc_runtime/runtime.dart

Issue 2568313002: Implement messages in assert() in dev_compiler. (Closed)
Patch Set: Format. Created 4 years 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) 2015, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2015, 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 dart._runtime; 5 library dart._runtime;
6 6
7 import 'dart:async'; 7 import 'dart:async';
8 import 'dart:collection'; 8 import 'dart:collection';
9 9
10 import 'dart:_foreign_helper' show JS, JSExportName, rest, spread; 10 import 'dart:_foreign_helper' show JS, JSExportName, rest, spread;
11 import 'dart:_interceptors' show JSArray; 11 import 'dart:_interceptors' show JSArray;
12 import 'dart:_js_helper' show SyncIterable, BooleanConversionAssertionError, 12 import 'dart:_js_helper'
13 CastErrorImplementation, TypeErrorImplementation, 13 show
14 StrongModeCastError, StrongModeTypeError, StrongModeErrorImplementation, 14 AssertionErrorWithMessage,
15 getTraceFromException, Primitives; 15 BooleanConversionAssertionError,
16 CastErrorImplementation,
17 getTraceFromException,
18 Primitives,
19 TypeErrorImplementation,
20 StrongModeCastError,
21 StrongModeErrorImplementation,
22 StrongModeTypeError,
23 SyncIterable;
16 24
17 part 'classes.dart'; 25 part 'classes.dart';
18 part 'rtti.dart'; 26 part 'rtti.dart';
19 part 'types.dart'; 27 part 'types.dart';
20 part 'errors.dart'; 28 part 'errors.dart';
21 part 'generators.dart'; 29 part 'generators.dart';
22 part 'operations.dart'; 30 part 'operations.dart';
23 part 'utils.dart'; 31 part 'utils.dart';
24 32
25 @JSExportName('global') 33 @JSExportName('global')
26 final global_ = JS('', 'typeof window == "undefined" ? global : window'); 34 final global_ = JS('', 'typeof window == "undefined" ? global : window');
27 final JsSymbol = JS('', 'Symbol'); 35 final JsSymbol = JS('', 'Symbol');
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698