-
Notifications
You must be signed in to change notification settings - Fork 12.7k
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
Overload resolution fails to use type arguments from base type in 'super' constructor calls #1480
Milestone
Comments
Will need to check if this reproduces in 1.4. |
Confirmed in latest (fbfb94f) |
Basically what seems to be happening is that we fail to fetch type arguments in the call from the base type. I think #360 would have hinted at the problem early on. |
I'm going to try to stop renaming issues 😅 |
Should be fixed in |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
http://www.typescriptlang.org/Playground#src=class%20A%3Cx%2C%20y%3E%20%7B%0D%0A%09constructor(private%20map%3A%20(value%3A%20x)%20%3D%3E%20y)%20%7B%0D%0A%09%09%0D%0A%09%7D%0D%0A%7D%0D%0A%0D%0Aclass%20B%20extends%20A%3Cnumber%2C%20string%3E%20%7B%0D%0A%09%0D%0A%09constructor()%20%7B%20super(value%20%3D%3E%20String(value))%3B%20%7D%0D%0A%7D
The text was updated successfully, but these errors were encountered: