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

Side by Side Diff: frog/lib/corelib.dart

Issue 9401030: remove promise from corelib (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: '' Created 8 years, 10 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 | Annotate | Revision Log
« no previous file with comments | « frog/leg/scanner/source_list.dart ('k') | frog/lib/corelib_impl.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("dart:core"); 5 #library("dart:core");
6 #import("dart:coreimpl"); 6 #import("dart:coreimpl");
7 7
8 // TODO(jimhug): Better way to map in standard corelib 8 // TODO(jimhug): Better way to map in standard corelib
9 #source("../../corelib/src/bool.dart"); 9 #source("../../corelib/src/bool.dart");
10 #source("../../corelib/src/collection.dart"); 10 #source("../../corelib/src/collection.dart");
(...skipping 11 matching lines...) Expand all
22 #source("../../corelib/src/iterable.dart"); 22 #source("../../corelib/src/iterable.dart");
23 #source("../../corelib/src/iterator.dart"); 23 #source("../../corelib/src/iterator.dart");
24 #source("../../corelib/src/list.dart"); 24 #source("../../corelib/src/list.dart");
25 #source("../../corelib/src/map.dart"); 25 #source("../../corelib/src/map.dart");
26 #source("math.dart"); // overriden to be more directly native 26 #source("math.dart"); // overriden to be more directly native
27 #source("natives.dart"); // native helpers generated by the compiler 27 #source("natives.dart"); // native helpers generated by the compiler
28 #source("newisolate.dart"); // work in progress towards the new API 28 #source("newisolate.dart"); // work in progress towards the new API
29 #source("num.dart"); // overriden to include int members on num - weird typing 29 #source("num.dart"); // overriden to include int members on num - weird typing
30 #source("../../corelib/src/options.dart"); 30 #source("../../corelib/src/options.dart");
31 #source("../../corelib/src/pattern.dart"); 31 #source("../../corelib/src/pattern.dart");
32 #source("../../corelib/src/promise.dart");
33 #source("../../corelib/src/queue.dart"); 32 #source("../../corelib/src/queue.dart");
34 #source("../../corelib/src/regexp.dart"); 33 #source("../../corelib/src/regexp.dart");
35 #source("../../corelib/src/set.dart"); 34 #source("../../corelib/src/set.dart");
36 #source("../../corelib/src/stopwatch.dart"); 35 #source("../../corelib/src/stopwatch.dart");
37 #source("../../corelib/src/string.dart"); 36 #source("../../corelib/src/string.dart");
38 #source("../../corelib/src/strings.dart"); 37 #source("../../corelib/src/strings.dart");
39 #source("../../corelib/src/string_buffer.dart"); 38 #source("../../corelib/src/string_buffer.dart");
40 #source("../../corelib/src/time_zone.dart"); 39 #source("../../corelib/src/time_zone.dart");
41 40
42 // TODO(jimhug): Ad-hoc cut-paste-and-edit from compiler/lib below: 41 // TODO(jimhug): Ad-hoc cut-paste-and-edit from compiler/lib below:
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after
127 // TODO(jmesserly): add named args. For now stay compatible with the VM. 126 // TODO(jmesserly): add named args. For now stay compatible with the VM.
128 noSuchMethod(String name, List args) { 127 noSuchMethod(String name, List args) {
129 throw new NoSuchMethodException(this, name, args); 128 throw new NoSuchMethodException(this, name, args);
130 } 129 }
131 } 130 }
132 131
133 void _assert(var test, String text, String url, int line, int column) { 132 void _assert(var test, String text, String url, int line, int column) {
134 if (test is Function) test = test(); 133 if (test is Function) test = test();
135 if (!test) throw new AssertionError._internal(text, url, line, column); 134 if (!test) throw new AssertionError._internal(text, url, line, column);
136 } 135 }
OLDNEW
« no previous file with comments | « frog/leg/scanner/source_list.dart ('k') | frog/lib/corelib_impl.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698