The identifier of the function prototype (or "interface" if you prefer) shares the same identifier with the trigger variable; that's not permitted. Neither shadowing nor function-overloading/polymorphism are supported in galaxy, and trigger type isn't a function reference. That said, editor shouldn't be hanging on that, and I've reproduced and confirmed the hang bug. Best post this on the official bnet forums, Arkless.
The editor freezes when you declare a function interface and a variable (only tested with a trigger type variable) with the same name.
The order is important, the function has to be declared first.
Remember, a function interface does not include the body, declaring the body makes the editor throw an error instead.
Example:
The identifier of the function prototype (or "interface" if you prefer) shares the same identifier with the trigger variable; that's not permitted. Neither shadowing nor function-overloading/polymorphism are supported in galaxy, and trigger type isn't a function reference. That said, editor shouldn't be hanging on that, and I've reproduced and confirmed the hang bug. Best post this on the official bnet forums, Arkless.
@JademusSreg: Go
triggers use gt_name and functions use gf_name internally, at least looking in my script.