Open rw1nkler opened 5 months ago
Now that compare
defaults to none
, we expect this issue to be less frequent. I think the desired behavior for multiple procs in a test file with compare: jit
is not totally clear at this point. For now, de-prioritizing and removing from the DSLX Next milestone.
Describe the bug
Having two non-parametric procs in one DSLX file triggers errors when running DSLX tests using the
xls_dslx_test
rule. The test itself is not even necessary, as it seems that the problem occurs before running the actual test. The error is not triggered when the other proc is parametric.To Reproduce
One can use the following DSLX code to trigger the error:
The problem may be related to IR translation, as adding the
compare = none
flag todslx_test_args
removes the error. Here are the build rules needed to trigger the problem:The error message is as follows:
I pushed the code of this example to here. To trigger the error, use:
Expected behavior
The error should not be triggered. Also, an
INTERNAL
error is triggered when handling the original error, which should not happen.