lep / jhcr

A compiler to allow hot code reload in WarCraft 3
https://www.hiveworkshop.com/threads/jass-hot-code-reload.313811/
GNU Lesser General Public License v3.0
31 stars 2 forks source link

TriggerEvaluate doesn't work with dummy functions #12

Closed lep closed 1 year ago

lep commented 1 year ago

Using a completely new function as a filterfunc doesn't work currently as the dummy functions return nothing. I think we can simply change the signature to return boolean but i'm not 100% sure. Also we would need to catch filterfunc usage somehow. Maybe having two different types of dummy functions is easier but idk yet.

lep commented 1 year ago

Fixed in bfbd8a0586036ae4e126a3e13683a777ce4b1de8