|
4 | 4 | "endPos": {"line": 1, "column": 51}, |
5 | 5 | "data": "Goals accomplished!"}], |
6 | 6 | "env": 0, |
7 | | - "decls": ["∀ (p : Prop), p → p"]} |
| 7 | + "decls": |
| 8 | + [{"type": "∀ (p : Prop), p → p", |
| 9 | + "pp": "show_p", |
| 10 | + "pos": {"line": 1, "column": 8}, |
| 11 | + "endPos": {"line": 1, "column": 14}}]} |
8 | 12 |
|
9 | | -{"env": 1, "decls": ["∀ (p : Prop), p → p"]} |
| 13 | +{"env": 1, |
| 14 | + "decls": |
| 15 | + [{"type": "∀ (p : Prop), p → p", |
| 16 | + "pp": "show_q", |
| 17 | + "pos": {"line": 1, "column": 4}, |
| 18 | + "endPos": {"line": 1, "column": 10}}]} |
10 | 19 |
|
11 | | -{"env": 2, "decls": ["∀ (p : Prop), p → p", "∀ (q : Prop), q → q"]} |
| 20 | +{"env": 2, |
| 21 | + "decls": |
| 22 | + [{"type": "∀ (p : Prop), p → p", |
| 23 | + "pp": "show_p", |
| 24 | + "pos": {"line": 1, "column": 4}, |
| 25 | + "endPos": {"line": 1, "column": 10}}, |
| 26 | + {"type": "∀ (q : Prop), q → q", |
| 27 | + "pp": "show_q", |
| 28 | + "pos": {"line": 3, "column": 4}, |
| 29 | + "endPos": {"line": 3, "column": 10}}]} |
12 | 30 |
|
13 | 31 | {"messages": |
14 | 32 | [{"severity": "warning", |
|
17 | 35 | "data": |
18 | 36 | "unused variable `p`\nnote: this linter can be disabled with `set_option linter.unusedVariables false`"}], |
19 | 37 | "env": 3, |
20 | | - "decls": ["Prop", "∀ (q : Prop), Type → q → q"]} |
| 38 | + "decls": |
| 39 | + [{"type": "Prop", |
| 40 | + "pp": "q", |
| 41 | + "pos": {"line": 1, "column": 10}, |
| 42 | + "endPos": {"line": 1, "column": 11}}, |
| 43 | + {"type": "∀ (q : Prop), Type → q → q", |
| 44 | + "pp": "show_q", |
| 45 | + "pos": {"line": 2, "column": 4}, |
| 46 | + "endPos": {"line": 2, "column": 10}}]} |
21 | 47 |
|
0 commit comments