May 26, 2023 [Issue 23938] New: spellchecker suggests that `~this()` but it cant be used. | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=23938 Issue ID: 23938 Summary: spellchecker suggests that `~this()` but it cant be used. Product: D Version: D2 Hardware: All OS: All Status: NEW Keywords: diagnostic Severity: minor Priority: P1 Component: dmd Assignee: nobody@puremagic.com Reporter: b2.temp@gmx.com for ``` void main() { class C { ~this(){} } (new C).dtor(); } ``` the spellchecker says : > /tmp/temp_7F7D4BFE0830.d:4:12: Error: no property `dtor` for type `temp_7F7D4BFE0830.main.C`, did you mean `temp_7F7D4BFE0830.main.C.~this`? But it should suggest `__dtor` instead -- |
Copyright © 1999-2021 by the D Language Foundation