Open amblafont opened 3 years ago
The above example is expected to fail because l
is a layout for a pointer. However, the following also fails:
main : all (l :~ (#{a : U8}) ). {a : U8} layout l -> {a : U8} layout l
main x = x
it also fails on main : all (t, l :~ t ). t layout l -> t layout l
8d7e015 fixes the first problem, and also parens around the RHS of :~
is no longer required.
Cogent fails to compile this function, on master:
I get the output: