The goal is to address the regression
```
example : (0 : Nat) + 0 = 0 :=
show 0 + 0 = 0 from rfl
```
introduced by fedf235cba
Note that we should only *try to* unify the types. Otherwise, we would
produce another regression.
```
example : Int :=
show Nat from 0
```
cc @kha
8 lines
382 B
Text
8 lines
382 B
Text
some { range := { pos := { line := 167, column := 42 },
|
|
charUtf16 := 42,
|
|
endPos := { line := 173, column := 31 },
|
|
endCharUtf16 := 31 },
|
|
selectionRange := { pos := { line := 167, column := 46 },
|
|
charUtf16 := 46,
|
|
endPos := { line := 167, column := 58 },
|
|
endCharUtf16 := 58 } }
|