News for hackers. Stuff that matters.
Re:Nim 2.0.0 RC2 by ptramo on Friday March 31, 2023 @10:14AM (#35387461)
The one that doesn't match the declaration.
Re:Nim 2.0.0 RC2 by overthrow on Friday March 31, 2023 @10:43AM (#35387883)
A parent comment says:

> It's so external dependencies don't have to infect your codebase. So you can actually apply a consistent code style within your project.

Say an external dependency has a declaration called 'getFileSystem', and in my Nim codebase I refer to it as 'get_file_system', but last year someone accidentally committed 'get_filesystem'. In this case neither usage matches the declaration. Does the linter flag both spellings because they don't match 'getFileSystem'?

EDIT: And what about reflection? If someone wrote `newCall("get_filesystem")`, will the linter fix that usage too?