Author
anonymous
over 2 years ago
Language
Nim
Compiler
nim 1.6.6
Options
Author
anonymous
over 2 years ago
$ nim c ./prog.nim
Hint: used config file '/opt/wandbox/nim-1.6.6/config/nim.cfg' [Conf]
Hint: used config file '/opt/wandbox/nim-1.6.6/config/config.nims' [Conf]
................................................................................................
/home/jail/prog.nim(14, 12) Error: type mismatch: got <void>
but expected one of:
proc echo(x: varargs[typed, `$`])
first type mismatch at position: 1
required type for x: varargs[typed]
but expression 'delete(total, parseInt(word))' is of type: void
expression: echo delete(total, parseInt(word))
Exit Code:
1