-
-
Notifications
You must be signed in to change notification settings - Fork 21.2k
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
Parser Bug While Entering Code #80266
Comments
Can you send some screenshots and/or a video clip of the issue you're facing? I tried messing around on the linked project, but I can't seem to trigger any parser errors. Also I've tested with v4.1.1-stable, please check if this has been fixed with this latest release. |
I updated to 4.1.1-stable and still saw the issue.
Video clip showing the parser errors as I enter a function: https://drive.google.com/file/d/1KKl5YH3gE6FCziM_KOr7-IaJBhSi7uOI/view?usp=sharing
From: Ricardo Subtil ***@***.***>
Sent: Tuesday, August 8, 2023 6:43 AM
To: godotengine/godot ***@***.***>
Cc: VRNocturne ***@***.***>; Author ***@***.***>
Subject: Re: [godotengine/godot] Parser Bug While Entering Code (Issue #80266)
Can you send some screenshots and/or a video clip of the issue you're facing? I tried messing around on the linked project, but I can't seem to trigger any parser errors.
Also I've tested with v4.1.1-stable, please check if this has been fixed with this latest release.
—
Reply to this email directly, view it on GitHub <#80266 (comment)> , or unsubscribe <https://github.com/notifications/unsubscribe-auth/AMCV2UA5MOH2WWGEO4DTY6LXUIJ2TANCNFSM6AAAAAA3EOIAVU> .
You are receiving this because you authored the thread. <https://github.com/notifications/beacon/AMCV2UE4BD6JM2VWJFESLJLXUIJ2TA5CNFSM6AAAAAA3EOIAVWWGG33NNVSW45C7OR4XAZNMJFZXG5LFINXW23LFNZ2KUY3PNVWWK3TUL5UWJTTDQCPFG.gif> Message ID: ***@***.*** ***@***.***> >
|
Thanks, I've managed to replicate the issue. I'll detail it here for someone else to tackle since GDScript stuff is not my "forte" 😉 On the following code: enum MyEnum {
VALUE1,
VALUE2,
}
func some_func() -> int:
var some_var = randi_range(1, 6)
match some_var:
Peek.2023-08-08.15-39.mp4
Peek.2023-08-08.15-43.mp4 |
I have the same problem (Trying to check compatibility of unset value type) on Godot v4.1.1.stable - Windows 10.0.19045.3324 - Compatibility renderer - NVIDIA GeForce 9400 GT - 8 GB RAM - Intel(R) Pentium(R) CPU G4400 3.30GHz |
Same/similar issue on 4.1.2.stable.mono as well, with the following code: func example() -> Vector2:
return Vector2.ZERO When adding a |
|
Godot version
v4.1.stable.official [9704596]
System information
Godot v4.1.stable - Windows 10.0.19045 - Vulkan (Forward+) - dedicated NVIDIA GeForce RTX 3070 Ti (NVIDIA; 31.0.15.3179) - AMD Ryzen 9 5900X 12-Core Processor (24 Threads)
Issue description
While typing code (a match statement in case it's relevant) into the IDE, I started seeing parser errors.
Steps to reproduce
Opened my project
Started editing code
ran project once
Continued editing code, this is when I started seeing the parser errors
In the test project (attached), it just started happening while making the const values
Minimal reproduction project
GodotTest.zip
The text was updated successfully, but these errors were encountered: