[Issue 20885] pointer rejected for the variable declared in a `if` condition

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sat May 30 21:48:10 UTC 2020


https://issues.dlang.org/show_bug.cgi?id=20885

--- Comment #2 from Basile-z <b2.temp at gmx.com> ---
caused by myself:

---
digger: Finding shortest path between 12bb06c30584c93ef63417889d575f8ad6b2c5df
and de173efe9ad320a3a56d7beab59743cd8b959975...
digger: 0 commits (about 0 tests) remaining.
digger: de173efe9ad320a3a56d7beab59743cd8b959975 is the first bad commit
commit de173efe9ad320a3a56d7beab59743cd8b959975
Author: Nicholas Wilson <thewilsonator at users.noreply.github.com>
Date:   Wed Mar 13 07:25:30 2019 +0800

    dmd: Merge pull request #9447 from Basile-z/issue-19730

    https://github.com/dlang/dmd/pull/9447

    [trivial] fix issue 19730 - if (auto x) {} isn't properly rejected

diff --git a/dmd b/dmd
index 2eccd9281..5c3d5701b 160000
--- a/dmd
+++ b/dmd
@@ -1 +1 @@
-Subproject commit 2eccd928103b17c9c2b3c9415e34619cc8abed78
+Subproject commit 5c3d5701b02a72d1ae65a059fdcbfb528fc7b82b
digger: Bisection completed successfully.
---

--


More information about the Digitalmars-d-bugs mailing list