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

class method with type params throw syntax error #22

Closed
HairyRabbit opened this issue Dec 26, 2017 · 1 comment
Closed

class method with type params throw syntax error #22

HairyRabbit opened this issue Dec 26, 2017 · 1 comment

Comments

@HairyRabbit
Copy link
Owner

class a {
    foo<b>() {
//-----^  syntax error
    }
}

#6

@HairyRabbit
Copy link
Owner Author

Also failed with below syntax:

class A {
    b<a: b>() {}
//----^  syntax error    
}

@HairyRabbit HairyRabbit reopened this Jan 4, 2018
HairyRabbit added a commit that referenced this issue Jan 4, 2018
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