diff options
| author | Jeroen van Rijn <Kelimion@users.noreply.github.com> | 2026-02-13 15:15:03 +0100 |
|---|---|---|
| committer | Jeroen van Rijn <Kelimion@users.noreply.github.com> | 2026-02-13 15:15:03 +0100 |
| commit | 6386b395de7e0e537e092601ff0ac4d353806ebb (patch) | |
| tree | 80d44c794e9a4d13dedc2479db832e4f7eb1bb0f /src/exact_value.cpp | |
| parent | f7f19e5ebe45547732c2af39aa7f71feefd76f72 (diff) | |
Add `-did-you-mean-limit:N`
```
-did-you-mean-limit:<integer>
Sets the maximum number of suggestions the compiler provides.
Must be an integer >0.
If not set, the default limit is 10.
```
e.g. with a limit of 5
```
W:/Scratch/main.odin(44:7) Error: Undeclared name 'B1' for type 'E'
e = .B1
^^
Suggestion: Did you mean?
A23
A02
A19
A20
A21
... and 25 more ...
```
Diffstat (limited to 'src/exact_value.cpp')
0 files changed, 0 insertions, 0 deletions