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

Side by Side Diff: packages/initialize/lib/src/mirror_loader.dart

Issue 1400473008: Roll Observatory packages and add a roll script (Closed) Base URL: git@github.com:dart-lang/observatory_pub_packages.git@master
Patch Set: Created 5 years, 2 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 library initialize.mirror_loader; 4 library initialize.mirror_loader;
5 5
6 import 'dart:collection' show Queue; 6 import 'dart:collection' show Queue;
7 import 'dart:mirrors'; 7 import 'dart:mirrors';
8 import 'package:path/path.dart' as path; 8 import 'package:path/path.dart' as path;
9 import 'package:initialize/initialize.dart'; 9 import 'package:initialize/initialize.dart';
10 10
(...skipping 241 matching lines...) Expand 10 before | Expand all | Expand 10 after
252 return true; 252 return true;
253 } 253 }
254 } 254 }
255 255
256 final _TOP_LEVEL_FUNCTIONS_ONLY = new UnsupportedError( 256 final _TOP_LEVEL_FUNCTIONS_ONLY = new UnsupportedError(
257 'Only top level methods are supported for initializers'); 257 'Only top level methods are supported for initializers');
258 258
259 final _UNSUPPORTED_DECLARATION = new UnsupportedError( 259 final _UNSUPPORTED_DECLARATION = new UnsupportedError(
260 'Initializers are only supported on libraries, classes, and top level ' 260 'Initializers are only supported on libraries, classes, and top level '
261 'methods'); 261 'methods');
OLDNEW
« no previous file with comments | « packages/initialize/lib/src/initializer.dart ('k') | packages/initialize/lib/src/static_loader.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698