Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

builtin-arrays is broken, cogent does not compile. #315

Closed
gteege opened this issue Nov 12, 2019 · 1 comment
Closed

builtin-arrays is broken, cogent does not compile. #315

gteege opened this issue Nov 12, 2019 · 1 comment

Comments

@gteege
Copy link
Contributor

gteege commented Nov 12, 2019

(I hope you will not begin to hate me ...)
When doing

make INSTALL_FLAGS='--enable-tests --force-reinstalls --flags="+builtin-arrays"'

in branch master the compiler signals an error:

[46 of 70] Compiling Cogent.TypeCheck.Generator ( src/Cogent/TypeCheck/Generator.hs, dist/dist-sandbox-49115f4a/build/Cogent/TypeCheck/Generator.o )

src/Cogent/TypeCheck/Generator.hs:264:31: error:
    Data constructor not in scope: F :: TCType -> TCType
    |
264 |   return (mconcat cs <> cz <> F (T $ TArray alpha n) :< F t, ArrayLit es')
    |                               ^
@zilinc
Copy link

zilinc commented Nov 12, 2019

We have reworked the built-in arrays and augmented it with more features. They are still WIP and are therefore not merged to master.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants