https://github.com/HaxeBeluga/Beluga/issues/21