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

Unified Diff: lib/compiler/implementation/compiler.dart

Issue 10832136: Skeleton typedef type implementation (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Backend updated Created 8 years, 4 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: lib/compiler/implementation/compiler.dart
diff --git a/lib/compiler/implementation/compiler.dart b/lib/compiler/implementation/compiler.dart
index b37b81e912b075cf79ec313394203296cc18b230..3656c72f03079242393ec7c59cec95027a834e73 100644
--- a/lib/compiler/implementation/compiler.dart
+++ b/lib/compiler/implementation/compiler.dart
@@ -323,7 +323,7 @@ class Compiler implements DiagnosticListener {
closureClass = lookupSpecialClass(const SourceString('Closure'));
dynamicClass = lookupSpecialClass(const SourceString('Dynamic'));
nullClass = lookupSpecialClass(const SourceString('Null'));
- types = new Types(dynamicClass);
+ types = new Types(this, dynamicClass);
if (!coreLibValid) {
cancel('core library does not contain required classes');
}
@@ -782,9 +782,9 @@ class Compiler implements DiagnosticListener {
() => resolver.resolveFunctionExpression(element, node));
}
- FunctionSignature resolveTypedef(TypedefElement element) {
- return withCurrentElement(element,
- () => resolver.resolveTypedef(element));
+ void resolveTypedef(TypedefElement element) {
+ withCurrentElement(element,
+ () => resolver.resolveTypedef(element));
}
FunctionType computeFunctionType(Element element,
« no previous file with comments | « no previous file | lib/compiler/implementation/elements/elements.dart » ('j') | lib/compiler/implementation/elements/elements.dart » ('J')

Powered by Google App Engine
This is Rietveld 408576698