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

Compiler crash: instance of a function type with a type parameter. #902

Closed
tgschultz opened this issue Apr 6, 2018 · 0 comments
Closed
Labels
bug Observed behavior contradicts documented or intended behavior
Milestone

Comments

@tgschultz
Copy link
Contributor

test "instance of function type with type parameter"
{
    const Func = fn(type) void;
    const f: Func = undefined;
}

Not that I expected this to work, mind you.

@andrewrk andrewrk added the bug Observed behavior contradicts documented or intended behavior label Apr 6, 2018
@andrewrk andrewrk added this to the 0.3.0 milestone Apr 6, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Observed behavior contradicts documented or intended behavior
Projects
None yet
Development

No branches or pull requests

2 participants