test: add class projection test
This commit is contained in:
parent
a4c2b0303e
commit
693d7dcf62
1 changed files with 15 additions and 0 deletions
15
tests/lean/run/new_frontend2.lean
Normal file
15
tests/lean/run/new_frontend2.lean
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
new_frontend
|
||||
|
||||
variable {m : Type → Type}
|
||||
variable [s : Functor m]
|
||||
|
||||
#check s.map
|
||||
|
||||
/-
|
||||
The following doesn't work because
|
||||
```
|
||||
variable [r : Monad m]
|
||||
#check r.map
|
||||
```
|
||||
because `Monad.to* methods have bad binder annotations
|
||||
-/
|
||||
Loading…
Add table
Reference in a new issue