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
Bask in the error message panicked at 'internal error: entered unreachable code', core/src/storage/command.rs:367:30
The unreachable!() code should actually be unreachable - the problem is that the parse_input on line 352 is returning multiple results and the if let block is choosing the canonical StorageCommand::Journal result rather than the fuzzy StorageCommand::Load { .. } result, which is what we're actually concerned with at that point.
The text was updated successfully, but these errors were encountered:
After some experimentation with this in the browser, I discovered that after creating an NPC named "Journal", you can actually call your journal if you've already used the command, by pressing up and then enter. It's typing "j" in the box that causes the panic.
Correct, the panic is in the autocomplete code, not the command parsing. Those are unfortunately two completely different code blocks that do effectively the same thing by way of incomplete vs. complete parsing (#104). Accessing it through the command history will bypass the autocomplete code altogether.
Steps to reproduce:
npc named journal
.j
.panicked at 'internal error: entered unreachable code', core/src/storage/command.rs:367:30
The
unreachable!()
code should actually be unreachable - the problem is that theparse_input
on line 352 is returning multiple results and theif let
block is choosing the canonicalStorageCommand::Journal
result rather than the fuzzyStorageCommand::Load { .. }
result, which is what we're actually concerned with at that point.The text was updated successfully, but these errors were encountered: