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

Side by Side Diff: dart/frog/leg/lib/js_helper.dart

Issue 9835088: Handle implicit closure of toString. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge
Patch Set: Add missing "new" Created 8 years, 9 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 | « no previous file | dart/tests/co19/co19-leg.status » ('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('js_helper'); 5 #library('js_helper');
6 6
7 #import('coreimpl.dart'); 7 #import('coreimpl.dart');
8 8
9 #source('constant_map.dart'); 9 #source('constant_map.dart');
10 #source('date_helper.dart'); 10 #source('date_helper.dart');
(...skipping 1342 matching lines...) Expand 10 before | Expand all | Expand 10 after
1353 * Represents the type Dynamic. The compiler treats this specially. 1353 * Represents the type Dynamic. The compiler treats this specially.
1354 */ 1354 */
1355 interface Dynamic { 1355 interface Dynamic {
1356 } 1356 }
1357 1357
1358 /** 1358 /**
1359 * Represents the type of Null. The compiler treats this specially. 1359 * Represents the type of Null. The compiler treats this specially.
1360 */ 1360 */
1361 class Null { 1361 class Null {
1362 factory Null() { 1362 factory Null() {
1363 throw UnsupportedOperationException('new Null()'); 1363 throw new UnsupportedOperationException('new Null()');
1364 } 1364 }
1365 } 1365 }
1366
1367 // TODO(ahe): We should automatically generate these.
ngeoffray 2012/03/26 08:47:32 Just talked with Lasse about this. It's not so tri
ahe 2012/03/26 09:24:57 I have removed the TODO for now and continued the
1368 builtin$get$toString(receiver) => () => builtin$toString$0(receiver);
OLDNEW
« no previous file with comments | « no previous file | dart/tests/co19/co19-leg.status » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698