Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Parse error when trying to extend script with declared class_name #406

Closed
aesereht opened this issue Aug 15, 2024 · 1 comment
Closed

Parse error when trying to extend script with declared class_name #406

aesereht opened this issue Aug 15, 2024 · 1 comment
Labels

Comments

@aesereht
Copy link

Maybe related with #338
image
When trying to extend script with it produce errors. The example above was when trying to extend the _ready() method .

In case of just adding the code even without execution it will also produce error

func test():
	print("test")

capture
where the script that produce error is not connected to extended script
MultiplayerloadoutStage.gd was the extended script while GameWorld.availableTechSlots.duplicate() produced error
GameWorld is a singleton

MultiplayerloadoutStage.gd first lines

extends Stage
class_name MultiplayerLoadoutStage
...
@aesereht aesereht added the 4.x label Aug 15, 2024
@ZackeryRSmith
Copy link
Contributor

Duplicate of #345

@ZackeryRSmith ZackeryRSmith marked this as a duplicate of #345 Sep 2, 2024
@ZackeryRSmith ZackeryRSmith closed this as not planned Won't fix, can't repro, duplicate, stale Sep 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants