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

Unified Diff: dart/frog/leg/resolver.dart

Issue 8660004: Parse parenthesized expressions. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge
Patch Set: frogsh Created 9 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 | « dart/frog/frogsh ('k') | dart/frog/leg/scanner/listener.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: dart/frog/leg/resolver.dart
diff --git a/dart/frog/leg/resolver.dart b/dart/frog/leg/resolver.dart
index 7096281db4d42cf3fad3a0610b1d23bde3018e2c..4ac0deeffa9afa5349f79ca48b6674f2e4c112a9 100644
--- a/dart/frog/leg/resolver.dart
+++ b/dart/frog/leg/resolver.dart
@@ -332,6 +332,10 @@ class FullResolverVisitor extends ResolverVisitor {
visit(node.condition);
visitIn(node.body, new Scope(context));
}
+
+ visitParenthesizedExpression(ParenthesizedExpression node) {
+ visit(node.expression);
+ }
}
class ClassResolverVisitor extends AbstractVisitor<Type> {
« no previous file with comments | « dart/frog/frogsh ('k') | dart/frog/leg/scanner/listener.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698