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

Side by Side Diff: lib/runtime/dart_runtime.js

Issue 1298893003: Enable is and as checks on non-ground types (Closed) Base URL: https://github.com/dart-lang/dev_compiler.git@master
Patch Set: Minor fixes Created 5 years, 4 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 dart_library.library('dart_runtime/dart', null, /* Imports */[ 5 dart_library.library('dart_runtime/dart', null, /* Imports */[
6 'dart_runtime/_classes', 6 'dart_runtime/_classes',
7 'dart_runtime/_errors', 7 'dart_runtime/_errors',
8 'dart_runtime/_generators', 8 'dart_runtime/_generators',
9 'dart_runtime/_operations', 9 'dart_runtime/_operations',
10 'dart_runtime/_rtti', 10 'dart_runtime/_rtti',
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after
82 'dput', 82 'dput',
83 'dsend', 83 'dsend',
84 'dsetindex', 84 'dsetindex',
85 'equals', 85 'equals',
86 'hashCode', 86 'hashCode',
87 'map', 87 'map',
88 'noSuchMethod', 88 'noSuchMethod',
89 'notNull', 89 'notNull',
90 'stackPrint', 90 'stackPrint',
91 'stackTrace', 91 'stackTrace',
92 'strongInstanceOf',
92 'throw', 93 'throw',
93 'toString', 94 'toString',
94 ]) 95 ])
95 // Renames 96 // Renames
96 exports.as = _export(operations.cast); 97 exports.as = _export(operations.cast);
97 exports.is = _export(operations.instanceOf); 98 exports.is = _export(operations.instanceOf);
98 99
99 // From types 100 // From types
100 exportFrom(types, [ 101 exportFrom(types, [
101 'bottom', 102 'bottom',
102 'definiteFunctionType', 103 'definiteFunctionType',
103 'dynamic', 104 'dynamic',
104 'functionType', 105 'functionType',
105 'typedef', 106 'typedef',
106 'typeName', 107 'typeName',
107 'void', 108 'void',
108 ]); 109 ]);
109 110
110 // From rtti 111 // From rtti
111 exportFrom(rtti, [ 112 exportFrom(rtti, [
112 'fn', 113 'fn',
113 'realRuntimeType', 114 'realRuntimeType',
114 'runtimeType', 115 'runtimeType',
115 ]); 116 ]);
116 117
117 }); 118 });
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698