Our $Path syntax may be more liberal than GDScript's. Ensure that, if we choose to compile get_node to $ syntax (as our call magic is wont to do), we only do so if the name is valid in GDScript.
Closed by 4863228f4df35b9f0d862fc3b1e00581d2291674. More specifically, if the name is not a valid identifier, we compile to $"..." with explicit quotes.
Our
$Path
syntax may be more liberal than GDScript's. Ensure that, if we choose to compileget_node
to$
syntax (as our call magic is wont to do), we only do so if the name is valid in GDScript.