bscotch / stitch

Tools and apps for GameMaker development: a CLI for pipeline development, a VSCode extension for coding, and more.
Other
119 stars 13 forks source link

Functions and variables become dereferenced if something prior in their line is in an 'error' state. #183

Closed BscotchSeth closed 1 year ago

BscotchSeth commented 1 year ago

In this example, _target_location was typed as 'Any', and _target_location.valid has no type (not even 'Any'). Then, all the subsequent variables and functions in the ternary have no types and cannot reference their definitions.

image

Also, _max_range is a var but has no syntax highlighting, and no references when hovered.

Around line 223 in AbilityInstance script Git commit ID 46d20ae2bf746485d76c040e559a8ee047739cd7