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); |
} |