Skip to content

Fixing #3624 - Readline crash with @{<tab> - #3626

Merged
Dongbo Wang (daxian-dbw) merged 2 commits into
PowerShell:masterfrom
powercode:ht-3624
Apr 25, 2017
Merged

Fixing #3624 - Readline crash with @{<tab>#3626
Dongbo Wang (daxian-dbw) merged 2 commits into
PowerShell:masterfrom
powercode:ht-3624

Conversation

@powercode

@powercode Staffan Gustafsson (powercode) commented Apr 22, 2017

Copy link
Copy Markdown
Collaborator

Fix #3624

}
break;
case TokenKind.AtCurly:
// Handle scenarios such as Sort-Object @{<tab> || gci | Format-Table @{

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Sort-Object @{ || gci | Format-Table @{

minor comment: can we change this to 'Sort-Object @{<tab>' or 'gci | Format-Table @{'? I think it's more readable.

}
}

It "Issue#3628 - 'Sort-Object @{<tab> should work" {

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

'Sort-Object @{ should work

Minor comment: did you miss a single quote? :)

Adressing review comments
@powercode

Copy link
Copy Markdown
Collaborator Author

Dongbo Wang (@daxian-dbw) Thx for the review. Issues addressed.

@iSazonov

Copy link
Copy Markdown
Collaborator

LGTM.

Staffan Gustafsson (@powercode) I added link on Issue in description. The Issue will be auto closed after merge. And it is useful to see a link to the PR in the Issue.

@powercode

Copy link
Copy Markdown
Collaborator Author

Ilya (@iSazonov) I thought the number in the title did so, but apparently I was incorrect :)

@daxian-dbw
Dongbo Wang (daxian-dbw) merged commit 5bdcff5 into PowerShell:master Apr 25, 2017
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.

4 participants