Skip to content

Rearranging members of Array<T> to improve error reporting. #436

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

Merged
merged 1 commit into from
Aug 12, 2014

Conversation

ahejlsberg
Copy link
Member

Moving declarations of length, push, and pop to the top such that type mismatch errors are reported in terms of these well known properties (rather than the more esoteric concat and join we pick now).

@RyanCavanaugh
Copy link
Member

👍

1 similar comment
@DanielRosenwasser
Copy link
Member

👍

ahejlsberg added a commit that referenced this pull request Aug 12, 2014
Rearranging members of Array<T> to improve error reporting.
@ahejlsberg ahejlsberg merged commit d3621bf into master Aug 12, 2014
@ahejlsberg ahejlsberg deleted the improvedArrayErrors branch August 12, 2014 20:07
@microsoft microsoft locked and limited conversation to collaborators Jun 18, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants