-
Notifications
You must be signed in to change notification settings - Fork 64
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
Obscure definition problem #73
Comments
Error disappears if no currying is present. // compiles
let filterMatrix = function (v: number, m: Array<Array<number>>): Array<number> {
return chain((r) => filter((c) => c == v, r), m)
} Mapping compiles as it should so I guess the problem is with // also compiles
let mapMatrix = function (fn, m: Array<Array<number>>): Array<number> {
return chain(map((c) => fn(c)), m)
} |
Your hunch was right: the curried Note that in the former version the generic was redefined halfway through (no longer the same This helped me track down a bunch of related cases of duplicate generics as well. Thank you for reporting this! In fact, this is making me reconsider the 'solution' to #90... |
@tycho01 thanks for taking time to fix this! |
You're welcome; thank you for your helpful bug reports. :) |
This code is ok, but does not compile
I'm getting this
The text was updated successfully, but these errors were encountered: