JoeStrout/miniscript

Bugs with `funcRef`

Closed this issue · 2 comments

MM:

]funcRef.f = function; print "hi"; end function
](@print).f
hi

CL:

> funcRef.f = function; print "hi"; end function 
> (@print).f
Runtime Error: Key Not Found: 'f' not found in map [line 1]

See on Discord.

And:

]funcRef.f = 42
]a = function; end function
](@a).f
42
](@globals.a).f
Runtime Error: Type Error (while attempting to look up f) [line 1]

See on Discord.

The third code block seems to be caused by #70

OK, the issue is already reported in #99.