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
i'm studying how to use generics, and for a while now, i'm having a problem with nimsuggest, when i try to call functions that uses generics, i need explicitly say the type, otherwise the nimsuggest gives a false error, the code compiles and runs correctly even though nimsuggest says otherwise. The problem is a conflict between int literal and system int, I didn't find anything about this on the doc or something.
Description
i'm studying how to use generics, and for a while now, i'm having a problem with nimsuggest, when i try to call functions that uses generics, i need explicitly say the type, otherwise the nimsuggest gives a false error, the code compiles and runs correctly even though nimsuggest says otherwise. The problem is a conflict between
int literal
andsystem int
, I didn't find anything about this on the doc or something.Code:
Error
Nim Version
Nim Compiler Version 2.0.8 [Linux: amd64]
Compiled at 2024-07-03
Copyright (c) 2006-2023 by Andreas Rumpf
git hash: 5935c3b
active boot switches: -d:release
The text was updated successfully, but these errors were encountered: