Skip to content

Commit

Permalink
Enable typeless references for local attributes
Browse files Browse the repository at this point in the history
  • Loading branch information
dbanck committed Nov 3, 2023
1 parent 3608b2b commit 7225ec7
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions internal/schema/0.12/locals_block.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,9 @@ func localsBlockSchema() *schema.BlockSchema {
schema.StaticStep{Name: "local"},
schema.AttrNameStep{},
},
ScopeId: refscope.LocalScope,
AsExprType: true,
ScopeId: refscope.LocalScope,
AsExprType: true,
AsReference: true,
},
Constraint: schema.AnyExpression{OfType: cty.DynamicPseudoType},
},
Expand Down

0 comments on commit 7225ec7

Please sign in to comment.