Skip to content
This repository was archived by the owner on Feb 2, 2024. It is now read-only.
This repository was archived by the owner on Feb 2, 2024. It is now read-only.

Issue with global primitives #7

@xastor

Description

@xastor

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions