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
in both cases of #29, there's a flush missing:
the result of 1st echo isn't shown
whereas nim itself does flush:
nim c -o:app -r bugs/t59_array_index.nim
...
@["a", "b", "c"] # <= HERE
/Users/timothee/git_clone/nim/timn/bugs/t59_array_index.nim(3) t59_array_index
/Users/timothee/git_clone/nim/Nim/lib/system.nim(3597) []
/Users/timothee/git_clone/nim/Nim/lib/system.nim(2807) sysFatal
Error: unhandled exception: index out of bounds [IndexError]
Error: execution of an external program failed: './app '
inim -s=bugs/t59_array_index.nim
👑 INim 0.4.1
Nim Compiler Version 0.18.1 [MacOSX: amd64] at /Users/timothee/.nimble//bin/nim
/Users/timothee/git_clone/nim/Nim/lib/system.nim(3597) []
/Users/timothee/git_clone/nim/Nim/lib/system.nim(2807) sysFatal
Error: unhandled exception: index out of bounds [IndexError]
nim c -o:app -r bugs/t59_array_index.nim
Hint: operation successful (12266 lines compiled; 0.382 sec total; 16.289MiB peakmem; Debug Build) [SuccessX]
@["a", "b", "c"]
/Users/timothee/git_clone/nim/timn/bugs/t59_array_index.nim(4) t59_array_index
/Users/timothee/git_clone/nim/Nim/lib/system.nim(3597) []
/Users/timothee/git_clone/nim/Nim/lib/system.nim(2807) sysFatal
Error: unhandled exception: index out of bounds [IndexError]
Error: execution of an external program failed: './app '
Activity
AndreiRegiani commentedon Aug 5, 2018
Should be fixed now, can you verify?
timotheecour commentedon Aug 7, 2018
@["a", "b", "c"]still not shown in inim 0.4.1inim -s=bugs/t59_array_index.nim
👑 INim 0.4.1
Nim Compiler Version 0.18.1 [MacOSX: amd64] at /Users/timothee/.nimble//bin/nim
/Users/timothee/git_clone/nim/Nim/lib/system.nim(3597) []
/Users/timothee/git_clone/nim/Nim/lib/system.nim(2807) sysFatal
Error: unhandled exception: index out of bounds [IndexError]
nim c -o:app -r bugs/t59_array_index.nim
Hint: operation successful (12266 lines compiled; 0.382 sec total; 16.289MiB peakmem; Debug Build) [SuccessX]
@["a", "b", "c"]
/Users/timothee/git_clone/nim/timn/bugs/t59_array_index.nim(4) t59_array_index
/Users/timothee/git_clone/nim/Nim/lib/system.nim(3597) []
/Users/timothee/git_clone/nim/Nim/lib/system.nim(2807) sysFatal
Error: unhandled exception: index out of bounds [IndexError]
Error: execution of an external program failed: './app '