Skip to content

Fixed match expression is evaluated twice if it returns a struct union#5720

Merged
KevinRansom merged 2 commits intodotnet:masterfrom
TIHan:pattern-match-opt-fix
Oct 2, 2018
Merged

Fixed match expression is evaluated twice if it returns a struct union#5720
KevinRansom merged 2 commits intodotnet:masterfrom
TIHan:pattern-match-opt-fix

Conversation

@TIHan
Copy link
Copy Markdown
Contributor

@TIHan TIHan commented Oct 1, 2018

Resolves this bug: #5689

@dsyme did the fix. I added the test.

@KevinRansom
Copy link
Copy Markdown
Contributor

Thanks @dsyme, @TIHan

@KevinRansom KevinRansom merged commit 55c4c45 into dotnet:master Oct 2, 2018
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.

2 participants