-
-
Notifications
You must be signed in to change notification settings - Fork 21.3k
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
GDScript regression: Compiler bug: unresolved assign #94654
Comments
I put a breakpoint to identify which scripts triggers the error, I'll see if I can make a smaller MRP:
|
MRP: func _ready():
var _slots_data := []
var slot_index = 0
while slot_index < 2:
var slot = Node.new()
_slots_data.append(slot)
slot_index += 1
var slot : Node = _slots_data[slot_index] The problem seems to come from the local If I rename either of them, the bug is resolved. Edit: Even more minimal. The func _ready():
var _slots_data := []
while false:
var slot = 42
_slots_data.append(slot)
var slot : int = _slots_data[0] |
github-project-automation
bot
moved this to For team assessment
in GDScript Issue Triage
Jul 25, 2024
dalexeev
moved this from For team assessment
to In progress / Assigned
in GDScript Issue Triage
Jul 25, 2024
dalexeev
moved this from In progress / Assigned
to Fix pending review
in GDScript Issue Triage
Jul 25, 2024
github-project-automation
bot
moved this from Fix pending review
to Done
in GDScript Issue Triage
Jul 26, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Tested versions
master
(f6c7b00) and PR GDScript: Fix common mismatched external parser errors (reverted) #94617System information
Fedora Linux 40 (KDE Plasma) - Wayland - Vulkan (Forward+) - dedicated AMD Radeon RX 7600M XT (RADV NAVI33) - AMD Ryzen 7 7840HS w/ Radeon 780M Graphics (16 Threads)
Issue description
Moving one of the two regressions identified in #94244 to its own issue, as #94617 fixes the other one and will solve the original report from #94244.
The MRP (not really minimal, it's an empty project with Zylann's hterrain plugin installed), triggers the following error since #89990:
This is still reproducible after #94617 too.
Steps to reproduce
Minimal reproduction project (MRP)
Reproduction project (empty project with Zylann hterrain installed):
hterraintest.zip
The text was updated successfully, but these errors were encountered: