parser error for static func access non-static variables
parser error for static func access non-static variables

Fix: #38408
(cherry picked from commit ce978517e0cbc9976208a7f69ae2c143ae28310b)

ex/godot,ex/godot,ex/godot,ex/godot,ex/godot,ex/godot,ex/godot,ex/godot