Forward declarations of events don't work inside a module namespace

Description

Forward declarations of events aren't correctly resolved when used inside a module namespace. The worst thing about this is that they fail silently: there's no error message, the handler is just not executed.

The example below never prints anything. Once the module statement is removed, everything works fine though.

Environment

None

Assignee

Robin Sommer

Reporter

Robin Sommer

Labels

External issue ID

71

Components

Fix versions

Affects versions

Priority

Normal
Configure