Closed restorer closed 5 years ago
This is for Haxe 4.0.0-preview.5 and Safety from master.
Unfortunately, inlining happens before the plugin could access typed syntax tree. I'm leaving this open for more research. Maybe I could find a workaround.
So after talking to core dev I got an answer it's not possible at the moment.
See https://github.com/restorer/haxe-safety-bugs/blob/master/safetybugs/Main.hx#L71 for working example.