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

@alexnask alexnask commented Sep 21, 2014

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

@fasterthanlime fasterthanlime commented Jul 10, 2015

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

screen shot 2015-07-10 at 20 59 09

Loading

@fasterthanlime fasterthanlime added this to the 0.9.10 milestone Jul 10, 2015
@fasterthanlime fasterthanlime added this to the 0.9.10 milestone Jul 10, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants