Thread overview | |||||
---|---|---|---|---|---|
|
May 26, 2023 [Issue 23938] spellchecker suggests `~this()` but it cant be used. | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=23938 Basile-z <b2.temp@gmx.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|spellchecker suggests that |spellchecker suggests |`~this()` but it cant be |`~this()` but it cant be |used. |used. -- |
May 29, 2023 [Issue 23938] spellchecker suggests `~this()` but it cant be used. | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=23938 RazvanN <razvan.nitu1305@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |razvan.nitu1305@gmail.com --- Comment #1 from RazvanN <razvan.nitu1305@gmail.com> --- I think that this is a bit of a dilemma. __dtor is an internal symbol that should not reach the user facing surface. Also, calling dtor like this is ugly. However, I agree that suggesting a wrong method is worse. Maybe the compiler should suggest the druntime destroy function? -- |
June 03, 2023 [Issue 23938] spellchecker suggests `~this()` but it cant be used. | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=23938 Vladimir Panteleev <dlang-bugzilla@thecybershadow.net> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |dlang-bugzilla@thecybershad | |ow.net --- Comment #2 from Vladimir Panteleev <dlang-bugzilla@thecybershadow.net> --- It should just exempt special symbols from spell check suggestions. The spell checker can't know if the user actually meant to call the destructor. -- |
Copyright © 1999-2021 by the D Language Foundation