You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Feb 2, 2024. It is now read-only.
I stumbled upon an issue where I cannot reference any of the global primitives in my haxe code. It seems they are not available when the code is running in the browser.
Do you have any idea on how to tackle this?
class Test {
static function main() {
var value:Dynamic = true;
var bool:Bool = cast(value,Bool);
trace(bool);
}
}
Error in the browser console :
bundle.js:20 Uncaught ReferenceError: Bool is not defined