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
I expected compilation to either succeed or fail with an error message. Instead, the compiler panics.
Version Information:
Linux version: Linux 4.4.0-22621-Microsoft #3672-Microsoft Fri Jan 01 08:00:00 PST 2016 x86_64 x86_64 x86_64 GNU/Linux
Golang version: go version go1.22.3 linux/amd64
Additional context
It only panics if the parameter is an array. I wonder if it's a broader case of overlapping names, made worse because array parameters are processed specially. I'll try to look into this tomorrow.
The text was updated successfully, but these errors were encountered:
This fix comes with the caveat of, if a value is empty, we won't create
a value of that type because we have no way of knowing it if you didn't
provide a value since valid JSON defines the dictionary and array types.
Describe the bug
When compiling a Cherri file where names of a custom action's array parameter and an unrelated variable/constant are the same, the compiler panics.
To Reproduce
Debug output
Expected behavior
I expected compilation to either succeed or fail with an error message. Instead, the compiler panics.
Version Information:
Linux 4.4.0-22621-Microsoft #3672-Microsoft Fri Jan 01 08:00:00 PST 2016 x86_64 x86_64 x86_64 GNU/Linux
go version go1.22.3 linux/amd64
Additional context
It only panics if the parameter is an array. I wonder if it's a broader case of overlapping names, made worse because array parameters are processed specially. I'll try to look into this tomorrow.
The text was updated successfully, but these errors were encountered: