You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
With the new configurable encoding, if including a new line in a str array the compiler will crash. This is used in the SRC-11; Security Information Standard example which hardcodes data into the configurable block. This resulting in the Entered unreachable code: non encoded configurable inside encoding v1 error.
The text was updated successfully, but these errors were encountered:
bitzoic
added
bug
Something isn't working
compiler
General compiler. Should eventually become more specific as the issue is triaged
labels
May 16, 2024
bitzoic
changed the title
Newlines in string array in configurable block crash compiler
Newlines in str array in configurable block crash compiler
May 16, 2024
I think this is a problem with the error message on your compiler version. master version correctly points out that the string slice actually has 7 chars (all the identation tabs). Removing them, it worked for me.
With the new configurable encoding, if including a new line in a str array the compiler will crash. This is used in the SRC-11; Security Information Standard example which hardcodes data into the
configurable
block. This resulting in theEntered unreachable code: non encoded configurable inside encoding v1
error.Minimal Repo:
The text was updated successfully, but these errors were encountered: