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

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

Issue 1993023003: Better boolean conversion tests. (Closed) Base URL: https://github.com/dart-lang/dev_compiler@master
Patch Set: Created 4 years, 7 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) 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, CastErrorImplementation, getTraceFro mException; 12 import 'dart:_js_helper' show SyncIterable, BooleanConversionAssertionError,
13 CastErrorImplementation, TypeErrorImplementation, getTraceFromException;
13 14
14 part 'classes.dart'; 15 part 'classes.dart';
15 part 'errors.dart'; 16 part 'errors.dart';
16 part 'generators.dart'; 17 part 'generators.dart';
17 part 'operations.dart'; 18 part 'operations.dart';
18 part 'rtti.dart'; 19 part 'rtti.dart';
19 part 'types.dart'; 20 part 'types.dart';
20 part 'utils.dart'; 21 part 'utils.dart';
21 22
22 @JSExportName('global') 23 @JSExportName('global')
23 final global_ = JS('', 'typeof window == "undefined" ? global : window'); 24 final global_ = JS('', 'typeof window == "undefined" ? global : window');
24 final JsSymbol = JS('', 'Symbol'); 25 final JsSymbol = JS('', 'Symbol');
25 26
26 // TODO(vsm): This is referenced (as init.globalState) from 27 // TODO(vsm): This is referenced (as init.globalState) from
27 // isolate_helper.dart. Where should it go? 28 // isolate_helper.dart. Where should it go?
28 // See: https://github.com/dart-lang/dev_compiler/issues/164 29 // See: https://github.com/dart-lang/dev_compiler/issues/164
29 // exports.globalState = null; 30 // exports.globalState = null;
30 // TODO(ochafik). 31 // TODO(ochafik).
31 // _js_helper.checkNum = operations.notNull; 32 // _js_helper.checkNum = operations.notNull;
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698