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

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

Issue 10332072: Remove unneeded types. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 8 years, 7 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: dart/lib/compiler/implementation/scanner/listener.dart
diff --git a/dart/lib/compiler/implementation/scanner/listener.dart b/dart/lib/compiler/implementation/scanner/listener.dart
index 76dd7ad2a56ff0daae41415ca992131d4d212e33..31ad767753cac3e22daf6f088c830feb2bc25c88 100644
--- a/dart/lib/compiler/implementation/scanner/listener.dart
+++ b/dart/lib/compiler/implementation/scanner/listener.dart
@@ -1463,11 +1463,11 @@ class PartialFunctionElement extends FunctionElement {
FunctionExpression parseNode(DiagnosticListener listener) {
if (cachedNode != null) return cachedNode;
- Node parseFunction(Parser p) {
+ parseFunction(Parser p) {
if (isMember() && p.optional('factory', beginToken)) {
- return p.parseFactoryMethod(beginToken);
+ p.parseFactoryMethod(beginToken);
} else {
- return p.parseFunction(beginToken, getOrSet);
+ p.parseFunction(beginToken, getOrSet);
}
}
cachedNode = parse(listener, getCompilationUnit(), parseFunction);
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698