-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Closed
Closed
Copy link
Description
Description
proc c(_: openarray[int]) = discardUsing
nim c -c --styleCheck:error r
Nim Version
Produces error:
Nim Compiler Version 1.6.12 [Linux: amd64]
Compiled at 2024-10-09
Copyright (c) 2006-2023 by Andreas Rumpf
git hash: 1aa9273640c0c51486cf3a7b67282fe58f360e91
active boot switches: -d:release
Does not produce error:
Nim Compiler Version 1.6.14 [Linux: amd64]
Compiled at 2024-10-09
Copyright (c) 2006-2023 by Andreas Rumpf
git hash: 71ba2e7f3c5815d956b1ae0341b0743242b8fec6
active boot switches: -d:release
Nim Compiler Version 1.6.16 [Linux: amd64]
Compiled at 2024-10-09
Copyright (c) 2006-2023 by Andreas Rumpf
git hash: 3c9b68dc157804885b14a1984efc25e8b7cc861d
active boot switches: -d:release
Nim Compiler Version 1.6.20 [Linux: amd64]
Compiled at 2024-10-09
Copyright (c) 2006-2023 by Andreas Rumpf
git hash: 19fdbfc173bfccb64cb64e0a963e69f52f71fc73
active boot switches: -d:release
Nim Compiler Version 2.0.4 [Linux: amd64]
Compiled at 2024-10-09
Copyright (c) 2006-2023 by Andreas Rumpf
git hash: b47747d31844c6bd9af4322efe55e24fefea544c
active boot switches: -d:release
Nim Compiler Version 2.0.8 [Linux: amd64]
Compiled at 2024-10-09
Copyright (c) 2006-2023 by Andreas Rumpf
git hash: 5935c3bfa9fec6505394867b23510eb5cbab3dbf
active boot switches: -d:release
Nim Compiler Version 2.0.10 [Linux: amd64]
Compiled at 2024-10-09
Copyright (c) 2006-2023 by Andreas Rumpf
git hash: e941ee15be775fe3c46db1bed9b4f41c7dfb1334
active boot switches: -d:release
Nim Compiler Version 2.2.0 [Linux: amd64]
Compiled at 2024-10-09
Copyright (c) 2006-2024 by Andreas Rumpf
git hash: 78983f1876726a49c69d65629ab433ea1310ece1
active boot switches: -d:release
Nim Compiler Version 2.2.1 [Linux: amd64]
Compiled at 2024-10-09
Copyright (c) 2006-2024 by Andreas Rumpf
git hash: 96d6eee9bc33c22defb980fc0953c8e55f363ab2
active boot switches: -d:release
Current Output
Compilation
Expected Output
Error: 'openarray' should be: 'openArray'
Known Workarounds
No response
Additional Information
No response
Metadata
Metadata
Assignees
Labels
No labels