Skip to content

[BUG]: the format cause grammatical error #390

@kyrosle

Description

@kyrosle

previous code:

var states = {
	NO_STATE: {},
	DELAY_STATE: {
		PROCESS: func():
			if state_timer < 0:
				set_state(queued_state)
}
}

code after using gdformat:

var states = {
	NO_STATE: {},
	DELAY_STATE:
	{
		PROCESS:
		func():
			if state_timer < 0:
				set_state(queued_state)
	}
}

error message: Unindent doesn't match the previous indentation level.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions