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

Unified Diff: frog/block_scope.dart

Issue 9270048: Lots of frog cleanup (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 11 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 | « frog/analyze_frame.dart ('k') | frog/element.dart » ('j') | frog/gen.dart » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: frog/block_scope.dart
diff --git a/frog/block_scope.dart b/frog/block_scope.dart
index 55d7ca283b62d83f4ed6d50acf7855ad0c213b18..22a0afe853a62fa14182338210dad2c440283d5c 100644
--- a/frog/block_scope.dart
+++ b/frog/block_scope.dart
@@ -172,7 +172,7 @@ class BlockScope {
/** Declares a variable in the current scope for this identifier. */
Value declare(DeclaredIdentifier id) {
- var type = enclosingMethod.method.resolveType(id.type, false);
+ var type = enclosingMethod.method.resolveType(id.type, false, true);
return create(id.name.name, type, id.span);
}
« no previous file with comments | « frog/analyze_frame.dart ('k') | frog/element.dart » ('j') | frog/gen.dart » ('J')

Powered by Google App Engine
This is Rietveld 408576698