[Issue 19462] New: A noisy warning about toHash will occur
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Mon Dec 3 10:51:20 UTC 2018
https://issues.dlang.org/show_bug.cgi?id=19462
Issue ID: 19462
Summary: A noisy warning about toHash will occur
Product: D
Version: D2
Hardware: x86_64
OS: Windows
Status: NEW
Severity: regression
Priority: P1
Component: druntime
Assignee: nobody at puremagic.com
Reporter: zan77137 at nifty.com
Noisy warnings now occur with this code (in dmd/druntime/Phobos master):
------------------------------------
struct Foo
{
Object _p;
alias _p this;
}
struct Bar
{
import std.typecons: Proxy;
Object foo;
mixin Proxy!foo;
}
void main(){}
------------------------------------
Maybe, the origin is hashOf template function called by Proxy.
--
More information about the Digitalmars-d-bugs
mailing list