proc foo(bar: string): bool =
echo("foo" + bar)
foo("bar")
CnByb2MgZm9vKGJhcjogc3RyaW5nKTogYm9vbCA9CiAgICBlY2hvKCJmb28iICsgYmFyKQogCmZvbygiYmFyIik=
prog.nim(3, 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