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

[php] Parse Error when static var pointing to a Enum Type #6159

Closed
kevinresol opened this Issue Apr 6, 2017 · 0 comments

Comments

Projects
None yet
2 participants
@kevinresol
Contributor

kevinresol commented Apr 6, 2017

Haxe revision: 84bf7e5
I think this is somewhat similar to #5383

class Main {
	static var e = MyEnum;
	static function main() {
		// parse error
		trace(e.A);
	}
}

enum MyEnum {
	A;
	B;
	C;
}

@RealyUniqueName RealyUniqueName self-assigned this Apr 6, 2017

RealyUniqueName added a commit to RealyUniqueName/haxe that referenced this issue Apr 12, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment