Skip to content

Class arg type parse error #66

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

Closed
wdanilo opened this issue Dec 10, 2013 · 2 comments
Closed

Class arg type parse error #66

wdanilo opened this issue Dec 10, 2013 · 2 comments
Labels

Comments

@wdanilo
Copy link

wdanilo commented Dec 10, 2013

Hello, I've got parse error while prsing following WORKING Haskell code:

[...]
class Member (name :: Symbol) cls func | name cls -> func where 
    member :: proxy name -> cls -> func
[...]

error:

Language.Haskell.Stylish.Parse.parseModule: could not parse Data.hs: ParseFailed (SrcLoc {srcFilename = "<unknown>.hs", srcLine = 29, srcColumn = 23}) "Parse error: Symbol"
@hesselink
Copy link
Member

I think this is also because DataKinds is not supported yet (#19). Symbol is not a valid kind without that extension.

@UnkindPartition
Copy link
Member

Fixed in HEAD.

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

3 participants