Well, this ain't a a real bug since it's documented and it's easy to understand why a static module can't raise events, but I'd like to highlight the different behavior in B4i from B4A.
In the latter the log window shows the error as "Static code modules cannot handle events".
While B4i IDE doesn't.
This could be confusing when porting code from one to the other.