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

Side by Side Diff: lib/compiler/implementation/dart2js.dart

Issue 10880068: - Change "static final" to "static const" in the lib/ directory. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 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 #library('dart2js'); 5 #library('dart2js');
6 6
7 #import('dart:io'); 7 #import('dart:io');
8 #import('dart:uri'); 8 #import('dart:uri');
9 #import('dart:utf'); 9 #import('dart:utf');
10 10
11 #import('../compiler.dart', prefix: 'api'); 11 #import('../compiler.dart', prefix: 'api');
12 #import('colors.dart', prefix: 'colors'); 12 #import('colors.dart', prefix: 'colors');
13 #import('source_file.dart'); 13 #import('source_file.dart');
14 #import('filenames.dart'); 14 #import('filenames.dart');
15 #import('util/uri_extras.dart'); 15 #import('util/uri_extras.dart');
16 16
17 final String LIBRARY_ROOT = '../../../..'; 17 const String LIBRARY_ROOT = '../../../..';
18 18
19 typedef void HandleOption(String option); 19 typedef void HandleOption(String option);
20 20
21 class OptionHandler { 21 class OptionHandler {
22 String pattern; 22 String pattern;
23 HandleOption handle; 23 HandleOption handle;
24 24
25 OptionHandler(this.pattern, this.handle); 25 OptionHandler(this.pattern, this.handle);
26 } 26 }
27 27
(...skipping 346 matching lines...) Expand 10 before | Expand all | Expand 10 after
374 } catch (var ignored) { 374 } catch (var ignored) {
375 print('Internal error: error while printing exception'); 375 print('Internal error: error while printing exception');
376 } 376 }
377 try { 377 try {
378 print(trace); 378 print(trace);
379 } finally { 379 } finally {
380 exit(253); // 253 is recognized as a crash by our test scripts. 380 exit(253); // 253 is recognized as a crash by our test scripts.
381 } 381 }
382 } 382 }
383 } 383 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698