Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix 4.x.x build #27

Merged
merged 1 commit into from
Jul 12, 2023
Merged

Fix 4.x.x build #27

merged 1 commit into from
Jul 12, 2023

Conversation

barisyild
Copy link
Contributor

@barisyild barisyild commented Jul 12, 2023

Code:

#if (haxe_ver >= 4.0) enum #else @:enum #end SWFSymbolType(Int) from Int to Int
{
	public var CREATE = 0;
	public var UPDATE = 1;
	public var DESTROY = 2;
}

Compile Error:

[ERROR] Test.hx:1: characters 59-60

 1 | #if (haxe_ver >= 4.0) enum #else @:enum #end SWFSymbolType(Int) from Int to Int
   |                                                           ^
   | Unexpected (

@barisyild barisyild changed the title Fix 4.x.x build Fix build Jul 12, 2023
@barisyild barisyild changed the title Fix build Fix 4.x.x build Jul 12, 2023
@joshtynjala joshtynjala merged commit d5c5cd0 into openfl:master Jul 12, 2023
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants