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

Unified Diff: pkg/front_end/lib/src/fasta/target_implementation.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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « pkg/front_end/lib/src/fasta/messages.dart ('k') | pkg/kernel/lib/core_types.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/front_end/lib/src/fasta/target_implementation.dart
diff --git a/pkg/front_end/lib/src/fasta/target_implementation.dart b/pkg/front_end/lib/src/fasta/target_implementation.dart
index 7a7f3b4ab1b99c7368e16bbf9d5cca3b8116618d..58781f6c1f174de970228bfff5e244d876dff0c6 100644
--- a/pkg/front_end/lib/src/fasta/target_implementation.dart
+++ b/pkg/front_end/lib/src/fasta/target_implementation.dart
@@ -87,16 +87,6 @@ abstract class TargetImplementation extends Target {
bypassLibraryPrivacy: true);
}
- /// Returns a reference to the constructor of [FallThroughError] error. The
- /// constructor is expected to accept no arguments.
- Builder getFallThroughError(Loader loader) {
- if (cachedFallThroughError != null) {
- return cachedFallThroughError;
- }
- return cachedFallThroughError =
- loader.coreLibrary.getConstructor("FallThroughError");
- }
-
/// Returns a reference to the constructor used for creating `native`
/// annotations. The constructor is expected to accept a single argument of
/// type String, which is the name of the native method.
« no previous file with comments | « pkg/front_end/lib/src/fasta/messages.dart ('k') | pkg/kernel/lib/core_types.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698