Skip to content

Stack overflow on master branch when creating a cycle between a type alias and a union type #3152

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

Closed
osdm opened this issue May 13, 2015 · 1 comment
Assignees
Labels
Bug A bug in TypeScript Fixed A PR has been merged for this issue

Comments

@osdm
Copy link

osdm commented May 13, 2015

var a27: {prop: number} | {prop: T27};
type T27 = typeof a27;

var b: T27;
var s: string = b;
@DanielRosenwasser DanielRosenwasser added the Bug A bug in TypeScript label May 13, 2015
@DanielRosenwasser
Copy link
Member

Thanks for the bug report! In the future please try not to abbreviate things like "stack overflow" in the issue title.

@DanielRosenwasser DanielRosenwasser changed the title STOFL on master branch Stack overflow on master branch when creating a cycle between a type alias and a union type May 13, 2015
@ahejlsberg ahejlsberg added this to the TypeScript 1.6 milestone May 13, 2015
@ahejlsberg ahejlsberg self-assigned this May 13, 2015
@ahejlsberg ahejlsberg added the Fixed A PR has been merged for this issue label May 31, 2015
@microsoft microsoft locked and limited conversation to collaborators Jun 19, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Bug A bug in TypeScript Fixed A PR has been merged for this issue
Projects
None yet
Development

No branches or pull requests

3 participants