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

Function argument () should have type unit, not 0-tuple #49

Closed
julianhyde opened this issue Jun 24, 2021 · 1 comment
Closed

Function argument () should have type unit, not 0-tuple #49

julianhyde opened this issue Jun 24, 2021 · 1 comment

Comments

@julianhyde
Copy link
Collaborator

Function argument () should have type unit, not 0-tuple.

With this bug,
let fun one () = 1 in one () end
would give error
Cannot deduce type: conflict: unit vs tuple

@julianhyde
Copy link
Collaborator Author

Fixed in 6531aa6.

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

No branches or pull requests

1 participant