diff --git a/entity/scope.go b/entity/scope.go index 12cca52..bbb1f62 100644 --- a/entity/scope.go +++ b/entity/scope.go @@ -36,6 +36,6 @@ func (this *Scope) AddVariable (declaration *Declaration) { func (this *Scope) OverVariables (callback func (*Declaration) bool) { for _, declaration := range this.variables { - if callback(declaration) { break } + if !callback(declaration) { break } } }