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

Misleading error for toplevel operations in the repl #1227

Open
Izaakwltn opened this issue Sep 6, 2024 · 0 comments
Open

Misleading error for toplevel operations in the repl #1227

Izaakwltn opened this issue Sep 6, 2024 · 0 comments
Labels

Comments

@Izaakwltn
Copy link
Collaborator

COALTON-USER> (coalton (define-type cow))
The operator DEFINE-TYPE is only valid in a Coalton expression.
   [Condition of type COMMON-LISP:SIMPLE-ERROR]

The error should let the user know they need to be inside a coalton-toplevel, not a coalton.

This is true for all toplevel operations afaik.

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

No branches or pull requests

1 participant