Skip to content
Discussion options

You must be logged in to vote

Hi @serman, my apologies, when I tried the example yesterday (after converting it back to use a constant), I didn't notice that the issue you described is still present. I am able to reproduce the problem with the latest files linked above.

The issue turns out to be a bug in some older code that does constant analysis in conditional statements (IF THEN ELSE) to eliminate unused code branches. That code did not correctly handle the case where an input variable uses subscripts, and that bug caused some IF THEN ELSE statements to be eliminated incorrectly, which meant that the Switch for policies value had no effect at runtime.

The code in question is scheduled to be removed in the near futu…

Replies: 3 comments 4 replies

Comment options

You must be logged in to vote
1 reply
@serman
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
3 replies
@chrispcampbell
Comment options

Answer selected by chrispcampbell
@serman
Comment options

@chrispcampbell
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants