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

alexnask opened this issue Sep 21, 2014 · 1 comment


Copy link

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)

This comment has been minimized.

Copy link

commented Jul 10, 2015

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
None yet
2 participants
You can’t perform that action at this time.