Regression in "GDScript: fix segfault on invalid script" with const foo : GDScript= preload(...)
#92534
Labels
Milestone
const foo : GDScript= preload(...)
#92534
#92035 causes a regression in projects which access inner classes from `const foo: GDScript = preload("./foo.gd"):
System info:
Godot v4.3.beta (8bf8f41) - Windows 10.0.19045 - Vulkan (Forward+) - dedicated NVIDIA GeForce RTX 3090 (NVIDIA; 31.0.15.3713) - Intel(R) Core(TM) i9-9900K CPU @ 3.60GHz (16 Threads)
MRP: GDScriptPreloadBug.zip
Steps to reproduce:
: GDScript =
to:=
to infer typeThis issue does not reproduce when this PR is backed out. The MRP works fine in Godot 4.0.3 through May 17 bd2300d.
Originally posted by @lyuma in #92035 (comment)
The text was updated successfully, but these errors were encountered: