Implemented environment type
This commit is contained in:
parent
1268344238
commit
96ac298980
15 changed files with 67 additions and 51 deletions
|
@ -49,7 +49,7 @@ func (f *Function) CompileCall(root *expression.Expression) ([]types.Type, error
|
|||
return nil, nil
|
||||
}
|
||||
|
||||
fn, exists = f.Functions[pkg+"."+name]
|
||||
fn, exists = f.All.Functions[pkg+"."+name]
|
||||
|
||||
if !exists {
|
||||
return nil, errors.New(&errors.UnknownFunction{Name: name}, f.File, nameNode.Token.Position)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue