Closed Emilgardis closed 3 months ago
should probably add some regression tests to catch these kind of errors, pretty sure this (as in #24) used to work correctly
try re-basing on https://github.com/Ryex/ic10emu/tree/ensure_no_borrow_errors and see if you still have the borrow panic.
you'll need to edit the batch_modes
test to un-comment the line that tests the "Maximum" mode
overall I think this is a good change. we'll inevitable end up with more Enums that overlap in the future
Just tested, seems to fix the issue now. also no panics :)
this doesn't work currently
resolves #24 depends on #26