Godot Version
4.3
Question
I have these lines in one of my scripts. I would have expected Godot to mark this as an error (or warning) because I’m accessing an attribute that doesn’t exist on a known type, but it doesn’t.
var query := PhysicsPointQueryParameters2D.new()
query.this_attribute_doesnt_exist = 'not ideal'
Godot will not identify anything wrong with those 2 lines.
Is there something wrong with my setup? Does anyone else get an error or warning if you put those 2 lines in your script?