chore: tweak error message about weak options (#10844)
This PR tweaks the error message about options defined in libraries. This was relevant for an option defined in Mathlib, but set in FLT.
This commit is contained in:
parent
823671f744
commit
77e72afe0a
1 changed files with 1 additions and 1 deletions
|
|
@ -315,7 +315,7 @@ def reparseOptions (opts : Options) : IO Options := do
|
|||
| unless weak do
|
||||
throw <| .userError s!"invalid -D parameter, unknown configuration option '{name}'
|
||||
|
||||
If the option is defined in this library, use '-D{`weak ++ name}' to set it conditionally"
|
||||
If the option is defined in a library, use '-D{`weak ++ name}' to set it conditionally"
|
||||
|
||||
let .ofString val := val
|
||||
| opts' := opts'.insert name val -- Already parsed
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue