GDScript: Fix type resolution not being return in some cases
GDScript: Fix type resolution not being return in some cases

Some situations caused the parser node type to not being update when
trying to resolve the type, returning invalid data and breaking the
parsing when it shouldn't. This patch fix the behavior.

josempans/godot,josempans/godot,godotengine/godot,josempans/godot,MarianoGnu/godot,BastiaanOlij/godot,BastiaanOlij/godot,firefly2442/godot,firefly2442/godot,MarianoGnu/godot,vnen/godot,Paulloz/godot,Paulloz/godot,sanikoyes/godot,Faless/godot,firefly2442/godot,ex/godot,DmitriySalnikov/godot,MarianoGnu/godot,sanikoyes/godot,sanikoyes/godot,guilhermefelipecgs/godot,Zylann/godot,vnen/godot,MarianoGnu/godot,Faless/godot,BastiaanOlij/godot,Zylann/godot,ZuBsPaCe/godot,ex/godot,firefly2442/godot,ZuBsPaCe/godot,vkbsb/godot,sanikoyes/godot,pkowal1982/godot,Paulloz/godot,MarianoGnu/godot,akien-mga/godot,honix/godot,Paulloz/godot,pkowal1982/godot,josempans/godot,godotengine/godot,MarianoGnu/godot,akien-mga/godot,Zylann/godot,Valentactive/godot,sanikoyes/godot,firefly2442/godot,honix/godot,akien-mga/godot,Valentactive/godot,ex/godot,honix/godot,godotengine/godot,ZuBsPaCe/godot,Faless/godot,akien-mga/godot,vnen/godot,Zylann/godot,vkbsb/godot,Zylann/godot,josempans/godot,DmitriySalnikov/godot,ex/godot,godotengine/godot,pkowal1982/godot,akien-mga/godot,vkbsb/godot,MarianoGnu/godot,BastiaanOlij/godot,akien-mga/godot,sanikoyes/godot,ZuBsPaCe/godot,firefly2442/godot,Zylann/godot,Faless/godot,ZuBsPaCe/godot,godotengine/godot,vkbsb/godot,ZuBsPaCe/godot,firefly2442/godot,Valentactive/godot,Valentactive/godot,Valentactive/godot,pkowal1982/godot,ex/godot,guilhermefelipecgs/godot,vnen/godot,Shockblast/godot,guilhermefelipecgs/godot,Shockblast/godot,vnen/godot,BastiaanOlij/godot,Shockblast/godot,ex/godot,pkowal1982/godot,guilhermefelipecgs/godot,Faless/godot,Shockblast/godot,vnen/godot,josempans/godot,guilhermefelipecgs/godot,ex/godot,DmitriySalnikov/godot,josempans/godot,BastiaanOlij/godot,honix/godot,guilhermefelipecgs/godot,Faless/godot,vkbsb/godot,Zylann/godot,Zylann/godot,honix/godot,MarianoGnu/godot,BastiaanOlij/godot,sanikoyes/godot,josempans/godot,vkbsb/godot,DmitriySalnikov/godot,ZuBsPaCe/godot,Shockblast/godot,firefly2442/godot,akien-mga/godot,ZuBsPaCe/godot,pkowal1982/godot,BastiaanOlij/godot,Shockblast/godot,Shockblast/godot,pkowal1982/godot,Paulloz/godot,godotengine/godot,Valentactive/godot,Valentactive/godot,vkbsb/godot,Shockblast/godot,vkbsb/godot,Paulloz/godot,Paulloz/godot,akien-mga/godot,vnen/godot,Faless/godot,pkowal1982/godot,godotengine/godot,DmitriySalnikov/godot,vnen/godot,guilhermefelipecgs/godot,Faless/godot,DmitriySalnikov/godot,guilhermefelipecgs/godot,godotengine/godot,DmitriySalnikov/godot,sanikoyes/godot,Valentactive/godot,ex/godot,honix/godot