forked fromdotnet/fsharp
- Notifications
You must be signed in to change notification settings - Fork0
Commit55c4c45
Fixed match expression is evaluated twice if it returns a struct union (dotnet#5720)
* Thanks to Don Syme, we have a fix* Added test1 parent2948313 commit55c4c45
File tree
2 files changed
+13
-1
lines changed- src/fsharp
- tests/FSharp.Core.UnitTests/FSharp.Core
2 files changed
+13
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
907 | 907 | | |
908 | 908 | | |
909 | 909 | | |
| 910 | + | |
| 911 | + | |
| 912 | + | |
| 913 | + | |
| 914 | + | |
910 | 915 | | |
911 | 916 | | |
912 | 917 | | |
| |||
939 | 944 | | |
940 | 945 | | |
941 | 946 | | |
942 | | - | |
| 947 | + | |
943 | 948 | | |
944 | 949 | | |
945 | 950 | | |
| |||
Lines changed: 7 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
249 | 249 | | |
250 | 250 | | |
251 | 251 | | |
| 252 | + | |
| 253 | + | |
| 254 | + | |
| 255 | + | |
| 256 | + | |
| 257 | + | |
| 258 | + | |
0 commit comments
Comments
(0)