Auto view rules for array views and resizable array in Jai do not work #345
Labels
Bug
A report of unintended or broken behavior.
Debugger
Pertains to the debugger.
Missing Support
A request to support a currently unsupported case.
Auto view rule for array views and resizable arrays in Jai (e.g.
[] int
and[..] int
) doesn't seem to take effect. I wanted these to beslice
.However, I got it working once by adding that auto view rule when not breaked or running. I can't get it to work anymore though. I don't know what I did differently the one time where I got it to work.
Slice does always seem to work directly as a view rule though (not auto). When I type it in the watch window, it works, it displays the result as a slice.
For a quick way to reproduce, you can go into the
how_to
directory distributed with Jai, runjai 004_arrays.jai
to get an exe, run that exe in raddbg and break at line 123. There, you have a local array viewc
of type[] float
. Trying to make an auto view rule for this type toslice
doesn't seem to have any effect.The text was updated successfully, but these errors were encountered: