set parser error when infer type is null
set parser error when infer type is null

(cherry picked from commit 687b1941b44f8ed560872cf2892bc66ea586db66)

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