January 07, 2019 [Issue 19554] New: [2.084.0] Confusing message - Warning: struct Foo has method toHash | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=19554 Issue ID: 19554 Summary: [2.084.0] Confusing message - Warning: struct Foo has method toHash Product: D Version: D2 Hardware: All OS: All Status: NEW Severity: major Priority: P1 Component: dmd Assignee: nobody@puremagic.com Reporter: radu.racariu@gmail.com Compiler prints this non-informative warning: --- Warning: struct Foo has method toHash, however it cannot be called with shared(const(Foo)) this. --- There is no line number to indicate what causes the warning. -- |
Copyright © 1999-2021 by the D Language Foundation