fork download
  1. proc foo(bar: string): bool =
  2. echo("foo" + bar)
  3. return bar == "bar"
  4.  
  5. foo("bar")
  6.  
Compilation error #stdin compilation error #stdout 0s 0KB
stdin
Standard input is empty
compilation info
prog.nim(2, 16) Error: type mismatch: got (string, string)
but expected one of: 
+(x: int16, y: int16): int16
+(x: int32, y: int32): int32
+(x: int8): int8
+(x: int): int
+(x: int32): int32
+(x: int16): int16
+(x: int64): int64
+(x: int8, y: int8): int8
+(x: set[T], y: set[T]): set[T]
+(x: float, y: float): float
+(x: int, y: int): int
+(x: int64, y: int64): int64
+(x: float): float

stdout
Standard output is empty