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

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

Issue 10389143: Add locations to diagnostics. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge
Patch Set: Remove all references to unreachable() Created 8 years, 7 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) 2011, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2011, 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('leg'); 5 #library('leg');
6 6
7 #import('dart:uri'); 7 #import('dart:uri');
8 8
9 #import('colors.dart'); 9 #import('colors.dart');
10 #import('elements/elements.dart'); 10 #import('elements/elements.dart');
(...skipping 15 matching lines...) Expand all
26 #source('namer.dart'); 26 #source('namer.dart');
27 #source('native_emitter.dart'); 27 #source('native_emitter.dart');
28 #source('operations.dart'); 28 #source('operations.dart');
29 #source('resolver.dart'); 29 #source('resolver.dart');
30 #source('script.dart'); 30 #source('script.dart');
31 #source('tree_validator.dart'); 31 #source('tree_validator.dart');
32 #source('typechecker.dart'); 32 #source('typechecker.dart');
33 #source('universe.dart'); 33 #source('universe.dart');
34 #source('warnings.dart'); 34 #source('warnings.dart');
35 #source('world.dart'); 35 #source('world.dart');
36
37 void unreachable() {
38 throw const Exception("Internal Error (Leg): UNREACHABLE");
39 }
OLDNEW
« no previous file with comments | « dart/lib/compiler/implementation/elements/elements.dart ('k') | dart/lib/compiler/implementation/operations.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698