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
The error message should indicate that the compiler cannot choose between the symbols and which symbols are the possible matches.
Example
procfoo(a: int) =echo a
procfoo(a: string) =echo a
let y = foo
Current Output
/usercode/in.nim(4, 5) Error: invalid type: 'None' for let
Possible Solution
/usercode/in.nim(4, 5) Error: identifier 'foo' matches both in.foo(a: int) [declared in /usercode/in.nim(1, 6)] and in.foo(a: string) [declared in /usercode/in.nim(2, 10)] and a type conversion must be used to declare a procvar
Excuse my bad writing. If there is an overload with no arguments it would append Did you mean to do 'foo()'? to the end
$ nim -v
Nim Compiler Version 1.0.4
The text was updated successfully, but these errors were encountered:
The error message should indicate that the compiler cannot choose between the symbols and which symbols are the possible matches.
Example
Current Output
Possible Solution
Excuse my bad writing. If there is an overload with no arguments it would append
Did you mean to do 'foo()'?
to the endThe text was updated successfully, but these errors were encountered: