Shadowing variables #265
Labels
bug
Something isn't working
good first issue
Good for newcomers
help wanted
Extra attention is needed
What Happened
I thought, 'How can
delta
fromevery frame
be obtained without creating that variable?' I created the variable with the exact namedelta
and printed the result which was a float. The debugger displays a warning thatdelta
shadows the already-declared variable.This unlocks a feature, but it can become a problem if the types don't match
Generated script:
How to Reproduce
delta
every frame
blocklog text
block toevery frame
delta
as input tolog text
Block Coding Plugin Version
v0.7.1
Godot Engine Version
v4.3
Operating System
No response
Logs or command-line output
Anything else?
No response
The text was updated successfully, but these errors were encountered: