Open
Description
GDFormat failed at those lines of code:
func _calculate_advantage() -> int:
return (
+ _calculate_lockout_frames()
- opponent._calculate_lockout_frames()
)
It happens because of the + at the very start.
Here the log file for the fail:
Expected one of:
* SLASH
* RPAR
* LESSTHAN
* VBAR
* "<="
* IS
* CIRCUMFLEX
* "=="
* "!="
* DOT
* "<<"
* ">>"
* AMPERSAND
* IF
* OR
* "&&"
* PLUS
* MINUS
* NOT
* "||"
* IN
* "is not"
* STAR
* MORETHAN
* ">="
* LSQB
* "**"
* PERCENT
* AND
* AS
Previous tokens: [Token('NAME', '_calculate_lockout_frames')]
2025-01-21 21:57:21[WARN] Formatter 'gdformat' timeout
2025-01-21 21:57:24[WARN] Formatter 'gdformat' timeout
2025-01-21 21:58:21[ERROR] Formatter 'gdformat' error: STDIN:
+ _calculate_lockout_frames()
^
Unexpected token Token('LPAR', '(') at line 2209, column 30.
Expected one of:
* AMPERSAND
* "&&"
* OR
* ">="
* VBAR
* SLASH
* "<<"
* RPAR
* AND
* "!="
* LSQB
* CIRCUMFLEX
* LESSTHAN
* "**"
* NOT
* MINUS
* PERCENT
* "=="
* IS
* ">>"
* "is not"
* DOT
* IN
* AS
* "<="
* PLUS
* "||"
* MORETHAN
* IF
* STAR
Previous tokens: [Token('NAME', '_calculate_lockout_frames')]
Metadata
Metadata
Assignees
Labels
No labels