We annotate patterns with the corresponding `Syntax` during elaboration, and do not populate the info tree. Reason: the set of pattern variables is not known during pattern elaboration.
10 lines
546 B
Text
10 lines
546 B
Text
{"textDocument": {"uri": "file://matchPatternHover.lean"},
|
|
"position": {"line": 13, "character": 7}}
|
|
{"range":
|
|
{"start": {"line": 13, "character": 7}, "end": {"line": 13, "character": 9}},
|
|
"contents": {"value": "```lean\nas : HList β is✝\n```", "kind": "markdown"}}
|
|
{"textDocument": {"uri": "file://matchPatternHover.lean"},
|
|
"position": {"line": 13, "character": 17}}
|
|
{"range":
|
|
{"start": {"line": 13, "character": 17}, "end": {"line": 13, "character": 18}},
|
|
"contents": {"value": "```lean\nh : Member i is✝\n```", "kind": "markdown"}}
|