This is mega silly

This commit is contained in:
Sasha Koshka 2024-02-16 12:49:47 -05:00
parent 158a4220be
commit 37aa620f33
1 changed files with 1 additions and 1 deletions

View File

@ -97,9 +97,9 @@ func (this *Tree) analyzeCall (
Unit: unit,
Name: call.Name,
})
if err != nil { return nil, err }
call.Function = function
call.Unit = function.Unit
if err != nil { return nil, err }
// check access permissions
if function.Acc == entity.AccessPrivate && function.Unit != this.unit {