Thread overview | |||||||
---|---|---|---|---|---|---|---|
|
May 07, 2018 [Issue 18839] Crash on getMember of function masking imported template function | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=18839 --- Comment #1 from FeepingCreature <default_357-line@yahoo.de> --- Further reduction: void fun2(T)(); alias fun = fun2; void fun() { } pragma(msg, __traits(getMember, foo, "fun").stringof); static assert(__traits(compiles, __traits(getMember, foo, "fun"))); Note that the order of functions - first alias, then mask - is important. -- |
May 07, 2018 [Issue 18839] Crash on getMember of function masking imported template function | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=18839 --- Comment #2 from FeepingCreature <default_357-line@yahoo.de> --- Correction- in that case, only the pragma(msg) crashes. -- |
May 07, 2018 [Issue 18839] Crash on getMember of function masking imported template function | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=18839 --- Comment #3 from FeepingCreature <default_357-line@yahoo.de> --- Double correction- I had a local patch I'd forgotten about. Both still crash. Reduction is valid. (Sorry.) -- |
December 17, 2022 [Issue 18839] Crash on getMember of function masking imported template function | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=18839 Iain Buclaw <ibuclaw@gdcproject.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P1 |P3 -- |
May 05, 2023 [Issue 18839] Crash on getMember of function masking imported template function | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=18839 RazvanN <razvan.nitu1305@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |razvan.nitu1305@gmail.com Resolution|--- |WORKSFORME --- Comment #4 from RazvanN <razvan.nitu1305@gmail.com> --- I cannot reproduce this with latest master. I get a successful compilation that prints "fun()". -- |
Copyright © 1999-2021 by the D Language Foundation