Skip to content

Conversation

@dcodeIO
Copy link
Member

@dcodeIO dcodeIO commented Feb 3, 2021

The code responsible to enable arr: Array<i32> = new Array() didn't check that both prototypes match before attempting to substitute type arguments, ultimately hitting an assertion that ensures that there's no unexpected "type argument count mismatch".

fixes #1622

  • I've read the contributing guidelines

@dcodeIO dcodeIO merged commit 5981995 into master Feb 3, 2021
@dcodeIO dcodeIO deleted the issue-1622 branch June 1, 2021 15:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Assigning compatible concrete class to generic base class typed variable errors out during compile time.

2 participants