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

Side by Side Diff: sdk/lib/_internal/compiler/js_lib/mirrors_patch.dart

Issue 538513002: Move js library back into compiler directory. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 3 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
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 // Patch library for dart:mirrors. 5 // Patch library for dart:mirrors.
6 6
7 import 'dart:_js_helper' show patch; 7 import 'dart:_js_helper' show patch;
8 import 'dart:_js_mirrors' as js; 8 import 'dart:_js_mirrors' as js;
9 9
10 @patch 10 @patch
(...skipping 25 matching lines...) Expand all
36 return (tm as ClassMirror).originalDeclaration; 36 return (tm as ClassMirror).originalDeclaration;
37 } 37 }
38 38
39 @patch 39 @patch
40 TypeMirror reflectType(Type key) { 40 TypeMirror reflectType(Type key) {
41 if (key == dynamic) { 41 if (key == dynamic) {
42 return currentMirrorSystem().dynamicType; 42 return currentMirrorSystem().dynamicType;
43 } 43 }
44 return js.reflectType(key); 44 return js.reflectType(key);
45 } 45 }
OLDNEW
« no previous file with comments | « sdk/lib/_internal/compiler/js_lib/mirror_helper.dart ('k') | sdk/lib/_internal/compiler/js_lib/native_helper.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698