[Issue 19066] [REG 2.081.0] Error: `const(Object)` is used as a type

d-bugmail at puremagic.com d-bugmail at puremagic.com
Fri Jul 6 14:17:38 UTC 2018


https://issues.dlang.org/show_bug.cgi?id=19066

Steven Schveighoffer <schveiguy at yahoo.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |schveiguy at yahoo.com
           Assignee|nobody at puremagic.com        |schveiguy at yahoo.com

--- Comment #1 from Steven Schveighoffer <schveiguy at yahoo.com> ---
Jacob, I know what this is! It's the fix we worked on at dconf.

https://github.com/dlang/dmd/pull/8222

What's happening here is the local name Object is overriding the global type
Object, so the generated toHash function uses that instead.

I'll try using the fully qualified type, and see if it fixes the issue.

--


More information about the Digitalmars-d-bugs mailing list