- Edited
I think that I find a bug.
I am a novice in GDScript, then I do not know how to extends a class in this programing language yet. The following steps for the bug is:
1. Create a file called A.gd that contais the class A:
class A:
func _init():
pass
2. Save the file A.gd
3. Create a file called B.gd that contais the class B:
class B:
func _init():
pass
4. Save this file.
5. Edit the file A.gd like this:
var B = load("res://B.gd")
class A extends B:
func _init():
pass
6. Save the file A.gd.
When we save the A.gd, the window close and we can not open the project. The only way to open the project again is editing the A.gd with VSCode or Notepad to erase the "var B = load(...)" line.