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

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: Rebased and updated cf. comments 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
« no previous file with comments | « no previous file | lib/compiler/implementation/elements/elements.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/compiler/implementation/compiler.dart
diff --git a/lib/compiler/implementation/compiler.dart b/lib/compiler/implementation/compiler.dart
index 2725e1ee675e5d6e25329c38a68942a594538b74..6b2397e17e027f77f45867b7ea0e713b375d2599 100644
--- a/lib/compiler/implementation/compiler.dart
+++ b/lib/compiler/implementation/compiler.dart
@@ -336,7 +336,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');
}
@@ -791,9 +791,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') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698