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

Unified Diff: pkg/compiler/lib/src/patch_parser.dart

Issue 1383503002: Add Resolution and Parsing interfaces for computeType, ensureResolved and parseNode. (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Add TODOs. Created 5 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 side-by-side diff with in-line comments
Download patch
Index: pkg/compiler/lib/src/patch_parser.dart
diff --git a/pkg/compiler/lib/src/patch_parser.dart b/pkg/compiler/lib/src/patch_parser.dart
index 8eb9f852da2687f9cb11ecaa66672d408b35ff09..a2ec63cf7006cdbfc964892a24ed6e9844cfe6db 100644
--- a/pkg/compiler/lib/src/patch_parser.dart
+++ b/pkg/compiler/lib/src/patch_parser.dart
@@ -154,7 +154,6 @@ import 'script.dart';
import 'tokens/token.dart' show
StringToken,
Token;
-import 'util/util.dart';
class PatchParserTask extends CompilerTask {
final String name = "Patching Parser";
@@ -399,7 +398,7 @@ abstract class EagerAnnotationHandler<T> {
// TODO(johnniwinther): Perform this check in
// [Compiler.onLibrariesLoaded].
compiler.enqueuer.resolution.addDeferredAction(element, () {
- annotation.ensureResolved(compiler);
+ annotation.ensureResolved(compiler.resolution);
handler.validate(
compiler, element, annotation,
compiler.constants.getConstantValue(annotation.constant));
« no previous file with comments | « pkg/compiler/lib/src/parser/partial_elements.dart ('k') | pkg/compiler/lib/src/resolution/class_hierarchy.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698