This repository was archived by the owner on Oct 12, 2022. It is now read-only.
Commit 9c5a8e0
Qualify ambiguous lambdas as function literals
dlang/dmd#12553 will change the return type inference s.t. these lambdas
are inferred as `noreturn` instead of `void`. This causes an ambiguity
regarding the `void function()` and the `void delegate` overloads.1 parent d0dee39 commit 9c5a8e0
2 files changed
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1762 | 1762 | | |
1763 | 1763 | | |
1764 | 1764 | | |
1765 | | - | |
| 1765 | + | |
1766 | 1766 | | |
1767 | 1767 | | |
1768 | 1768 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1043 | 1043 | | |
1044 | 1044 | | |
1045 | 1045 | | |
| 1046 | + | |
1046 | 1047 | | |
1047 | 1048 | | |
1048 | 1049 | | |
| |||
0 commit comments