#const assignment with other #const variable not working

The BrightScript docs show that you can assign a #const to the value of another const. But at runtime, this doesn’t work.

#const someFlag = true
#const anotherFlag = false
#const someOtherFlag = someFlag ' ~~~this does't work

Here’s what happens when I run that on-device:

Did this used to work and is now broken? Would be a useful feature to have! But either way, the docs could probably use an update to show what’s actually possible.

I can confirm this is broken in BrightScript versus the docs right now. I’ve put my best “agent” on the case.

I don’t think this has ever been supported. Looking in the code it looks like there was a plan to add this, but today it only supports boolean expressions after the “=”.