-
Notifications
You must be signed in to change notification settings - Fork 26
Open
Description
Cogent fails to compile this function, on master:
main : all (l :~ {a : U8} ). {a : U8} layout l -> {a : U8} layout l
main x = x
I get the output:
Parsing...
Resolving dependencies...
Typechecking...
Error: The layout of type
R ❲a : U8 (present) | ✗❳ [U]
does not fit the layout of type
R ❲a : U8 (present) | ✗❳ [W] ()
in the definition at ("simplepoly.cogent" (line 3, column 1))
for the function main
Error: The layout of type
R ❲a : U8 (present) | ✗❳ [U]
does not fit the layout of type
R ❲a : U8 (present) | ✗❳ [W] ()
in the definition at ("simplepoly.cogent" (line 3, column 1))
for the function main
Compilation failed!
Metadata
Metadata
Assignees
Labels
No labels