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

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

Issue 9724032: Resolve type Dynamic and implement black listing. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge
Patch Set: Address review comments 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 | « dart/frog/leg/compiler.dart ('k') | dart/frog/leg/resolver.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('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 1381 matching lines...) Expand 10 before | Expand all | Expand 10 after
1392 1392
1393 jsPropertyAccess(var jsObject, String property) { 1393 jsPropertyAccess(var jsObject, String property) {
1394 return JS('var', @'#[#]', jsObject, property); 1394 return JS('var', @'#[#]', jsObject, property);
1395 } 1395 }
1396 1396
1397 /** 1397 /**
1398 * Called at the end of unaborted switch cases to get the singleton 1398 * Called at the end of unaborted switch cases to get the singleton
1399 * FallThroughError exception that will be thrown. 1399 * FallThroughError exception that will be thrown.
1400 */ 1400 */
1401 getFallThroughError() => const FallThroughError(); 1401 getFallThroughError() => const FallThroughError();
1402
1403 /**
1404 * Represents the type Dynamic. The compiler treats this specially.
1405 */
1406 interface Dynamic {
1407 }
1408
1409 /**
1410 * Represents the type of Null. The compiler treats this specially.
1411 */
1412 class Null {
1413 factory Null() {
1414 throw UnsupportedOperationException('new Null()');
1415 }
1416 }
OLDNEW
« no previous file with comments | « dart/frog/leg/compiler.dart ('k') | dart/frog/leg/resolver.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698