inim-repl / INim

Interactive Nim shell / REPL / Playground
MIT License
644 stars 23 forks source link

Launches on Mac arm64 under Nim2.2.0, but exits on very first keystroke #140

Open mode80 opened 1 month ago

mode80 commented 1 month ago

👑 INim Nim Compiler Version 2.2.0 [MacOSX: arm64] at /Users/user/.nimble/bin/nim nim> /Users/user/.nimble/pkgs2/inim-1.0.0-b1718e7618da60a5bc7fc96034ef83d8a611ca9c/inim.nim(625) inim /Users/user/.nimble/pkgs2/cligen-1.7.6-853785ddace4ee4f3c6c21bdf7f5e9ff0358eb3f/cligen.nim(889) cligenScope /Users/user/.nimble/pkgs2/cligen-1.7.6-853785ddace4ee4f3c6c21bdf7f5e9ff0358eb3f/cligen.nim(848) dispatchmain /Users/user/.nimble/pkgs2/inim-1.0.0-b1718e7618da60a5bc7fc96034ef83d8a611ca9c/inim.nim(621) main /Users/user/.nimble/pkgs2/inim-1.0.0-b1718e7618da60a5bc7fc96034ef83d8a611ca9c/inim.nim(338) doRepl /Users/user/.nimble/pkgs2/noise-0.1.8-30a83206e751da70c9bf787cad34ac4d3346d0f6/noise.nim(195) readLine /Users/user/.nimble/pkgs2/noise-0.1.8-30a83206e751da70c9bf787cad34ac4d3346d0f6/noise.nim(137) getInputLine /Users/user/.nimble/pkgs2/noise-0.1.8-30a83206e751da70c9bf787cad34ac4d3346d0f6/noise.nim(104) keyProcessing /Users/user/.nimble/pkgs2/noise-0.1.8-30a83206e751da70c9bf787cad34ac4d3346d0f6/noise/editorImpl.nim(347) basicEditing /Users/user/.nimble/pkgs2/noise-0.1.8-30a83206e751da70c9bf787cad34ac4d3346d0f6/noise/lineImpl.nim(171) addOneChar /Users/user/.nimble/pkgs2/noise-0.1.8-30a83206e751da70c9bf787cad34ac4d3346d0f6/noise/lineImpl.nim(86) refreshLine /Users/user/.nimble/pkgs2/noise-0.1.8-30a83206e751da70c9bf787cad34ac4d3346d0f6/noise/lineImpl.nim(62) calcColPos /Users/user/.choosenim/toolchains/nim-2.2.0/lib/system/fatal.nim(53) sysFatal Error: unhandled exception: index out of bounds [IndexDefect]

mode80 commented 1 month ago

Same under Ubuntu 22.04

ay-ex commented 1 month ago

same on:

ringabout commented 1 month ago

It seems to be a bug of https://github.com/jangko/nim-noise/pull/35

ringabout commented 1 month ago

fyi, reinstall inim and its deps (remove noise and reinstall it) works too