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

Side by Side Diff: pkg/front_end/lib/src/fasta/loader.dart

Issue 2951453002: [kernel] Make fasta call a new constructor on FallThroughError (Closed)
Patch Set: Addressed comments Created 3 years, 6 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) 2016, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2016, 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 fasta.loader; 5 library fasta.loader;
6 6
7 import 'dart:async' show Future; 7 import 'dart:async' show Future;
8 8
9 import 'dart:collection' show Queue; 9 import 'dart:collection' show Queue;
10 10
(...skipping 165 matching lines...) Expand 10 before | Expand all | Expand 10 after
176 Builder getAbstractClassInstantiationError() { 176 Builder getAbstractClassInstantiationError() {
177 return target.getAbstractClassInstantiationError(this); 177 return target.getAbstractClassInstantiationError(this);
178 } 178 }
179 179
180 Builder getCompileTimeError() => target.getCompileTimeError(this); 180 Builder getCompileTimeError() => target.getCompileTimeError(this);
181 181
182 Builder getDuplicatedFieldInitializerError() { 182 Builder getDuplicatedFieldInitializerError() {
183 return target.getDuplicatedFieldInitializerError(this); 183 return target.getDuplicatedFieldInitializerError(this);
184 } 184 }
185 185
186 Builder getFallThroughError() => target.getFallThroughError(this);
187
188 Builder getNativeAnnotation() => target.getNativeAnnotation(this); 186 Builder getNativeAnnotation() => target.getNativeAnnotation(this);
189 } 187 }
190 188
191 String format(double d, int fractionDigits, int width) { 189 String format(double d, int fractionDigits, int width) {
192 return d.toStringAsFixed(fractionDigits).padLeft(width); 190 return d.toStringAsFixed(fractionDigits).padLeft(width);
193 } 191 }
OLDNEW
« no previous file with comments | « pkg/front_end/lib/src/fasta/kernel/body_builder.dart ('k') | pkg/front_end/lib/src/fasta/messages.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698