allow closure creation on extern static inline methods (closes #2813)
Merge pull request #2848 from HaxeFoundation/extern-static-inline-closures

allow closure creation on extern static inline methods (closes #2813)