lean4-htt/src
Kyle Miller 7de0c58dc1
fix: don't set pp.tagAppFns when pretty printing signatures (#4665)
In #3911, a refactor to share `MessageData` code between `ppConst` and
the signature pretty printer unintentionally caused the signature pretty
printer to use the `pp.tagAppFns` option. This causes, for example, `+`
in `a + b` to independently have its own hover information due to the
fact that `notation` app unexpanders use the head function's syntax as
the `ref` when constructing the notation syntax. This behavior of
`pp.tagAppFns` is intentional, and it is used by docgen, but it should
not be activated for signatures.

This affects `#check` and was reported by Kevin Buzzard [on
Zulip](https://leanprover.zulipchat.com/#narrow/stream/270676-lean4/topic/degraded.20hover.20experience.20on.20.23check/near/449380674).

This PR also makes sure the initial `ref` when applying app unexpanders
is `.missing`, rather than whatever random value might be present in the
`CoreM` context.
2024-07-05 23:02:39 +00:00
..
bin feat: Web Assembly Build (#2599) 2023-10-04 09:04:20 +02:00
cmake
include/lean fix: validate UTF-8 at C++ -> Lean boundary (#3963) 2024-06-19 14:05:48 +00:00
Init feat: Std.HashMap (#4583) 2024-07-05 10:14:20 +00:00
initialize chore: fix more typos in comments 2023-10-08 14:37:34 -07:00
kernel feat: safe exponentiation (#4637) 2024-07-03 05:12:53 +00:00
lake chore: add 'since' dates to deprecated (#4617) 2024-07-02 04:30:09 +00:00
Lean fix: don't set pp.tagAppFns when pretty printing signatures (#4665) 2024-07-05 23:02:39 +00:00
library refactor: port below and brecOn construction to Lean (#4517) 2024-06-26 11:10:39 +00:00
runtime fix: Windows build (#4628) 2024-07-02 20:32:00 +00:00
shell feat: lake: reservoir require (#4495) 2024-06-29 01:40:54 +00:00
Std feat: Std.HashMap (#4583) 2024-07-05 10:14:20 +00:00
util feat: expose flags for the bundled C compiler (#4477) 2024-06-22 01:23:33 +00:00
CMakeLists.txt chore: begin development cycle for v4.11.0 (#4594) 2024-06-30 23:28:48 +00:00
config.h.in
githash.h.in
Init.lean feat: grind normalization theorems (#4164) 2024-05-14 19:19:38 +00:00
lakefile.toml.in feat: introduce Std (#4499) 2024-06-21 07:08:45 +00:00
lean-toolchain doc: VS Code dev setup (#2961) 2023-11-30 08:35:03 +00:00
Lean.lean feat: propagate maxHeartbeats to kernel (#4113) 2024-05-09 17:44:19 +00:00
lean.mk.in fix: do not dllexport symbols in core static libraries (#3601) 2024-03-15 11:58:34 +00:00
Leanc.lean feat: expose flags for the bundled C compiler (#4477) 2024-06-22 01:23:33 +00:00
Std.lean feat: Std.HashMap (#4583) 2024-07-05 10:14:20 +00:00
stdlib.make.in feat: Std.HashMap (#4583) 2024-07-05 10:14:20 +00:00
stdlib_flags.h chore: unset parseQuotWithCurrentStage in stage1’s src/stdlib_flags.h (#4537) 2024-06-23 09:44:14 +00:00
version.h.in feat: System.Platform.target (#3207) 2024-01-24 12:11:00 +00:00