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

Unified Diff: pkg/compiler/lib/src/common/resolution.dart

Issue 2521073003: Remove the ability in dart2js to turn off syntax-only generic methods. (Closed)
Patch Set: eernst Created 4 years, 1 month 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 | « no previous file | pkg/compiler/lib/src/compiler.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/compiler/lib/src/common/resolution.dart
diff --git a/pkg/compiler/lib/src/common/resolution.dart b/pkg/compiler/lib/src/common/resolution.dart
index aeec588a066a2d79053083a8e5bae3f66febb453..9012c822c421e62cda59129e175bc4a6606ce944 100644
--- a/pkg/compiler/lib/src/common/resolution.dart
+++ b/pkg/compiler/lib/src/common/resolution.dart
@@ -28,7 +28,7 @@ import '../elements/elements.dart'
import '../enqueue.dart' show ResolutionEnqueuer;
import '../id_generator.dart';
import '../mirrors_used.dart';
-import '../options.dart' show CompilerOptions, ParserOptions;
+import '../options.dart' show CompilerOptions;
import '../parser/element_listener.dart' show ScannerOptions;
import '../parser/parser_task.dart';
import '../patch_parser.dart';
@@ -212,13 +212,11 @@ abstract class Resolution implements Frontend {
abstract class ParsingContext {
factory ParsingContext(
DiagnosticReporter reporter,
- ParserOptions parserOptions,
ParserTask parser,
PatchParserTask patchParser,
Backend backend) = _ParsingContext;
DiagnosticReporter get reporter;
- ParserOptions get parserOptions;
ParserTask get parser;
PatchParserTask get patchParser;
@@ -236,12 +234,11 @@ abstract class ParsingContext {
class _ParsingContext implements ParsingContext {
final DiagnosticReporter reporter;
- final ParserOptions parserOptions;
final ParserTask parser;
final PatchParserTask patchParser;
final Backend backend;
- _ParsingContext(this.reporter, this.parserOptions, this.parser,
+ _ParsingContext(this.reporter, this.parser,
this.patchParser, this.backend);
@override
« no previous file with comments | « no previous file | pkg/compiler/lib/src/compiler.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698