The on_key_event function is restricted to Int32 in the base Area class. However, the Area class itself makes an attempt to cast that Int32 to nil, which is impossible, causing a compilation failure. This PR simply removes the type restriction on on_key_event, as that seems to have completely fixed the problem in my local copy.
The
on_key_event
function is restricted to Int32 in the base Area class. However, the Area class itself makes an attempt to cast that Int32 to nil, which is impossible, causing a compilation failure. This PR simply removes the type restriction on on_key_event, as that seems to have completely fixed the problem in my local copy.