Previous topicNext topic

Rename global in expressions bug

Questions, comments, feedback, etc.
Post Reply
synthmusic
Posts: 16
Joined: Wed Sep 02, 2020 6:45 am

Rename global in expressions bug

Post by synthmusic »

Hello,

Appears to be a bug in renaming globals in a specific situation - If there are 2 globals named such that one is a subset of the other, then a name change will incorrectly rename the longer one in expressions, e.g.

global: "clock"
global: "clockLength"
an expression somewhere:
if(clock > clockLength, 0, 1)

renaming clock to clock1 will update expression to:
if(clock1 > clock1Length, 0, 1)

expected behavior:
if(clock1 > clockLength, 0, 1)

Thank you
Post Reply