Skip to content

Fixed bug where function type literals may omit their '=>'.#659

Merged
DanielRosenwasser merged 2 commits into
release-1.1from
functionTypeLiteralsNeedArrows
Sep 12, 2014
Merged

Fixed bug where function type literals may omit their '=>'.#659
DanielRosenwasser merged 2 commits into
release-1.1from
functionTypeLiteralsNeedArrows

Conversation

@DanielRosenwasser
Copy link
Copy Markdown
Member

Fixes #654.

@mhegazy
Copy link
Copy Markdown
Contributor

mhegazy commented Sep 11, 2014

👍

Comment thread src/compiler/parser.ts Outdated
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i'd prefer if the caller was explicit about if the returnToken/returnType was optional or not. trying to reinfer that within this method is extremely subtle and confusing.

DanielRosenwasser added a commit that referenced this pull request Sep 12, 2014
Fixed bug where function type literals may omit their '=>'.
@DanielRosenwasser DanielRosenwasser merged commit c277db0 into release-1.1 Sep 12, 2014
@DanielRosenwasser DanielRosenwasser deleted the functionTypeLiteralsNeedArrows branch September 12, 2014 21:36
@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