You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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!
The text was updated successfully, but these errors were encountered:
Cogent fails to compile this function, on master:
I get the output:
The text was updated successfully, but these errors were encountered: