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

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

Issue 10909166: Rename NoSuchMethodException to NoSuchMethodError. (Closed) Base URL: https://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
« no previous file with comments | « no previous file | lib/compiler/implementation/lib/core_patch.dart » ('j') | lib/core/errors.dart » ('J')
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 5
6 /** 6 /**
7 * If true, print a warning for each method that was resolved, but not 7 * If true, print a warning for each method that was resolved, but not
8 * compiled. 8 * compiled.
9 */ 9 */
10 const bool REPORT_EXCESS_RESOLUTION = false; 10 const bool REPORT_EXCESS_RESOLUTION = false;
(...skipping 137 matching lines...) Expand 10 before | Expand all | Expand 10 after
148 closureMapping.ClosureTask closureToClassMapper; 148 closureMapping.ClosureTask closureToClassMapper;
149 TypeCheckerTask checker; 149 TypeCheckerTask checker;
150 ti.TypesTask typesTask; 150 ti.TypesTask typesTask;
151 Backend backend; 151 Backend backend;
152 ConstantHandler constantHandler; 152 ConstantHandler constantHandler;
153 EnqueueTask enqueuer; 153 EnqueueTask enqueuer;
154 154
155 static const SourceString MAIN = const SourceString('main'); 155 static const SourceString MAIN = const SourceString('main');
156 static const SourceString CALL_OPERATOR_NAME = const SourceString('call'); 156 static const SourceString CALL_OPERATOR_NAME = const SourceString('call');
157 static const SourceString NO_SUCH_METHOD = const SourceString('noSuchMethod'); 157 static const SourceString NO_SUCH_METHOD = const SourceString('noSuchMethod');
158 static const SourceString NO_SUCH_METHOD_EXCEPTION = 158 static const SourceString NO_SUCH_METHOD_EXCEPTION =
Johnni Winther 2012/09/11 08:41:38 Shouldn't we rename this as well?
Lasse Reichstein Nielsen 2012/09/11 11:35:41 I'll remove it. It isn't used.
159 const SourceString('NoSuchMethodException'); 159 const SourceString('NoSuchMethodError');
160 static const SourceString START_ROOT_ISOLATE = 160 static const SourceString START_ROOT_ISOLATE =
161 const SourceString('startRootIsolate'); 161 const SourceString('startRootIsolate');
162 bool enabledNoSuchMethod = false; 162 bool enabledNoSuchMethod = false;
163 163
164 Stopwatch progress; 164 Stopwatch progress;
165 165
166 static const int PHASE_SCANNING = 0; 166 static const int PHASE_SCANNING = 0;
167 static const int PHASE_RESOLVING = 1; 167 static const int PHASE_RESOLVING = 1;
168 static const int PHASE_COMPILING = 2; 168 static const int PHASE_COMPILING = 2;
169 static const int PHASE_RECOMPILING = 3; 169 static const int PHASE_RECOMPILING = 3;
(...skipping 752 matching lines...) Expand 10 before | Expand all | Expand 10 after
922 final endOffset = end.charOffset + end.slowCharCount; 922 final endOffset = end.charOffset + end.slowCharCount;
923 923
924 // [begin] and [end] might be the same for the same empty token. This 924 // [begin] and [end] might be the same for the same empty token. This
925 // happens for instance when scanning '$$'. 925 // happens for instance when scanning '$$'.
926 assert(endOffset >= beginOffset); 926 assert(endOffset >= beginOffset);
927 return f(beginOffset, endOffset); 927 return f(beginOffset, endOffset);
928 } 928 }
929 929
930 String toString() => 'SourceSpan($uri, $begin, $end)'; 930 String toString() => 'SourceSpan($uri, $begin, $end)';
931 } 931 }
OLDNEW
« no previous file with comments | « no previous file | lib/compiler/implementation/lib/core_patch.dart » ('j') | lib/core/errors.dart » ('J')

Powered by Google App Engine
This is Rietveld 408576698