4ac100c91 ^
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
discard """ action: "run" output: ''' caught index out of bounds, the container is empty ''' """ proc fun() = var z: seq[string] discard z[4] proc main()= try: fun() except Exception as e: echo "caught" echo getCurrentExceptionMsg() main()