-
-
Notifications
You must be signed in to change notification settings - Fork 261
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #4692 from kinke/merge_stable
Merge upstream stable
- Loading branch information
Showing
7 changed files
with
95 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
v2.109.0 | ||
v2.109.1 |
Submodule phobos
updated
3 files
+0 −25 | changelog/std.process.Config.preExecDelegate.dd | |
+15 −0 | std/algorithm/searching.d | |
+4 −1 | std/typecons.d |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
// https://issues.dlang.org/show_bug.cgi?id=24566 | ||
|
||
void test24566a() | ||
{ | ||
enum a = true; | ||
bool b = true; | ||
enum str = "a"; | ||
if (a && str.length > 1 && str[1] == 'a') {} | ||
if (b && str.length > 1 && str[1] == 'a') {} | ||
if (!b && str.length > 1 && str[1] == 'a') {} | ||
if (str.length > 1 && b && str[1] == 'a') {} | ||
} | ||
|
||
void test24566b() | ||
{ | ||
enum a = false; | ||
bool b = false; | ||
enum str = "a"; | ||
if (a || str.length <= 1 || str[1] == 'a') {} | ||
if (b || str.length <= 1 || str[1] == 'a') {} | ||
if (!b || str.length <= 1 || str[1] == 'a') {} | ||
if (str.length <= 1 || b || str[1] == 'a') {} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters