test: add class projection test

This commit is contained in:
Leonardo de Moura 2020-01-09 16:24:53 -08:00
parent a4c2b0303e
commit 693d7dcf62

View 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
-/