Skip to content

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

Open

Description

@gene-pavlovsky

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.

Activity

  1. gene-pavlovsky commented on May 21, 2019

    @gene-pavlovsky
    ContributorAuthor

    This could be related to #1925

  2. changed the title [-]Auto-indent wrong after `final` keyword[/-] [+][Haxe4] Auto-indent wrong after `final` keyword[/+] on May 21, 2019
  3. added a commit that references this issue on Jan 27, 2020
    2938a8f
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions