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

[Haxe4] Auto-indent wrong after final keyword #2775

Open
gene-pavlovsky opened this issue May 21, 2019 · 1 comment · May be fixed by #2971
Open

[Haxe4] Auto-indent wrong after final keyword #2775

gene-pavlovsky opened this issue May 21, 2019 · 1 comment · May be fixed by #2971

Comments

@gene-pavlovsky
Copy link
Contributor

Haxe code sample

	function foo()
		if (true)
		{
			final i = 1;
			|
		}

Note: "|" is the caret position.

Start typing at the caret position, the code is auto-indented at the same level as function.
If final i is replaced with var i then indentation is correct. I guess it's related to the final keyword used in this context.

@gene-pavlovsky
Copy link
Contributor Author

This could be related to #1925

@SlavaRa SlavaRa changed the title Auto-indent wrong after final keyword [Haxe4] Auto-indent wrong after final keyword May 21, 2019
romamik pushed a commit to romamik/flashdevelop that referenced this issue Jan 27, 2020
…#1925 (does not support `final` as method modifier)
@romamik romamik linked a pull request Jan 27, 2020 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants