This PR fixes the location of the “deprecated constant” and similar error messages on field notation (`e.f`, `(e).f`, `e |>. f`). Fixes #10821.
5 lines
189 B
Text
5 lines
189 B
Text
346.lean:10:15-10:16: error(lean.unknownIdentifier): Unknown constant `SomeType.b`
|
|
346.lean:13:4-13:5: error: Invalid field `z`: The environment does not contain `Nat.z`
|
|
x
|
|
has type
|
|
Nat
|