Implemented environment type

This commit is contained in:
Eduard Urbach 2025-02-21 17:35:42 +01:00
parent 1268344238
commit 96ac298980
Signed by: eduard
GPG key ID: 49226B848C78F6C8
15 changed files with 67 additions and 51 deletions

View file

@ -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)