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

Rock does not type check arguments of generic type that was infered in the same call #826

Closed
alexnask opened this issue Sep 21, 2014 · 1 comment

Comments

@alexnask
Copy link
Collaborator

An example should be simpler to understand:

// This compiles
Foo: class <T> {
    init: func(a, b: T)
}

foo := Foo new(1, "lol")

// This too
f: func <T> (a, b: T)

f("what", 12)
@fasterthanlime
Copy link
Collaborator

Looks like it was fixed at the same time as #825

screen shot 2015-07-10 at 20 59 09

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

No branches or pull requests

2 participants