diff options
Diffstat (limited to 'src/pkg/exp/eval/scope.go')
| -rw-r--r-- | src/pkg/exp/eval/scope.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pkg/exp/eval/scope.go b/src/pkg/exp/eval/scope.go index e67135c0c..971b92d53 100644 --- a/src/pkg/exp/eval/scope.go +++ b/src/pkg/exp/eval/scope.go @@ -132,7 +132,7 @@ func (b *block) defineSlot(t Type, temp bool) *Variable { index = b.offset + b.numVars; b.numVars++; if index >= b.scope.maxVars { - b.scope.maxVars = index+1 + b.scope.maxVars = index + 1 } } v := &Variable{token.Position{}, index, t, nil}; |
