The following code:
@abstract func my_func() -> void
pass
Becomes:
@abstract
func my_func() -> void
pass
From what I understood looking at the GDScript reference only top class declarations should have @abstract placed at the top, while declarations in the script body should be inline.
Additionally, calling the formatter in this situation fails with --safe.
The following code:
Becomes:
From what I understood looking at the GDScript reference only top class declarations should have
@abstractplaced at the top, while declarations in the script body should be inline.Additionally, calling the formatter in this situation fails with
--safe.