Skip to content

Parse error when using (~) #421

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

Open
yairchu opened this issue Nov 29, 2018 · 0 comments
Open

Parse error when using (~) #421

yairchu opened this issue Nov 29, 2018 · 0 comments

Comments

@yairchu
Copy link

yairchu commented Nov 29, 2018

This program fails to parse:

{-# LANGUAGE GADTs #-}

one :: (~) a Int => a
one = 1

The culprit is using (~).

A failing test for this case is available at yairchu@19705ca

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