Thread overview | |||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
June 24, 2017 [Issue 17546] Cannot call .stringof on a function symbol if it does not have a no-args overload | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=17546 Ketmar Dark <ketmar@ketmar.no-ip.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |ketmar@ketmar.no-ip.org -- |
June 26, 2017 [Issue 17546] Cannot call .stringof on a function symbol if it does not have a no-args overload | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=17546 Steven Schveighoffer <schveiguy@yahoo.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |rejects-valid CC| |schveiguy@yahoo.com --- Comment #1 from Steven Schveighoffer <schveiguy@yahoo.com> --- Correction, test has to take a parameter: int test(int) { return 0; } Error message: teststringof.d(8): Error: function teststringof.test (int _param_0) is not callable using argument types () teststringof.d(8): while evaluating pragma(msg, (__error).stringof) -- |
June 26, 2017 [Issue 17546] Cannot call .stringof on a function symbol if it does not have a no-args overload | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=17546 --- Comment #2 from Steven Schveighoffer <schveiguy@yahoo.com> --- (In reply to monkeyworks12 from comment #0) > Currently I am resorting to a hacky workaround by doing > `(&test).stringof[2..$]`. I've found another possible workaround: __traits(identifier, test); // compile time literal of "test" -- |
June 26, 2017 [Issue 17546] Cannot call .stringof on a function symbol if it does not have a no-args overload | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=17546 --- Comment #3 from monkeyworks12@hotmail.com --- Ah, I forgot all about __traits(identifier). I wonder what the difference is between this and .stringof... Anyway, this should be a good enough workaround for the time being. -- |
May 04, 2018 [Issue 17546] Cannot call .stringof on a function symbol if it does not have a no-args overload | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=17546 Basile B. <b2.temp@gmx.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |b2.temp@gmx.com --- Comment #4 from Basile B. <b2.temp@gmx.com> --- Phobos is affected https://issues.dlang.org/show_bug.cgi?id=13741 -- |
May 07, 2018 [Issue 17546] Cannot call .stringof on a function symbol if it does not have a no-args overload | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=17546 Seb <greensunny12@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |greensunny12@gmail.com Severity|normal |major -- |
June 22, 2019 [Issue 17546] Cannot call .stringof on a function symbol if it does not have a no-args overload | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=17546 Basile-z <b2.temp@gmx.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Severity|major |normal --- Comment #5 from Basile-z <b2.temp@gmx.com> --- That's not a reg finally. UDA on params were added in 2.082, explaining why it was rejected in the past. -- |
June 22, 2019 [Issue 17546] Cannot call .stringof on a function symbol if it does not have a no-args overload | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=17546 Basile-z <b2.temp@gmx.com> changed: What |Removed |Added ---------------------------------------------------------------------------- See Also| |https://issues.dlang.org/sh | |ow_bug.cgi?id=1142 -- |
March 21, 2020 [Issue 17546] Cannot call .stringof on a function symbol if it does not have a no-args overload | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=17546 Basile-z <b2.temp@gmx.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC|b2.temp@gmx.com | -- |
December 17, 2022 [Issue 17546] Cannot call .stringof on a function symbol if it does not have a no-args overload | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=17546 Iain Buclaw <ibuclaw@gdcproject.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P1 |P3 -- |
Copyright © 1999-2021 by the D Language Foundation