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

Widening LHS in a dotted property access #1603

Closed
JsonFreeman opened this issue Jan 5, 2015 · 0 comments
Closed

Widening LHS in a dotted property access #1603

JsonFreeman opened this issue Jan 5, 2015 · 0 comments
Assignees
Labels
Spec Issues related to the TypeScript language specification

Comments

@JsonFreeman
Copy link
Contributor

The compiler widens the left hand side in a dotted property access, but section 4.10 in the spec does not mention the widening.

It is also strange that we do this for a dotted property access but not for a bracket access.

@JsonFreeman JsonFreeman added Bug A bug in TypeScript Spec Issues related to the TypeScript language specification labels Jan 5, 2015
@sophiajt sophiajt added this to the TypeScript 2.0 milestone Jan 12, 2015
@mhegazy mhegazy modified the milestones: TypeScript 1.5, TypeScript 2.0, TypeScript 1.5.1 Apr 22, 2015
@mhegazy mhegazy removed the Bug A bug in TypeScript label May 27, 2015
@mhegazy mhegazy modified the milestones: TypeScript 1.5.2, TypeScript 1.6 Jun 17, 2015
@mhegazy mhegazy modified the milestones: TypeScript 1.7, TypeScript 1.8 Oct 9, 2015
@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
Spec Issues related to the TypeScript language specification
Projects
None yet
Development

No branches or pull requests

4 participants