[Issue 19066] New: [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 12:07:13 UTC 2018
https://issues.dlang.org/show_bug.cgi?id=19066
Issue ID: 19066
Summary: [REG 2.081.0] Error: `const(Object)` is used as a type
Product: D
Version: D2
Hardware: All
OS: All
Status: NEW
Severity: regression
Priority: P1
Component: dmd
Assignee: nobody at puremagic.com
Reporter: doob at me.com
The following code worked fine using DMD 2.080.0 but fails with 2.081.0 and up
to master (ed6386ada4549d70797c3d09e51e05756de174d4).
class Foo {}
struct Bar
{
Foo Object;
}
Compiling this with 2.081.0 will give the following error message:
Error: `const(Object)` is used as a type
It does not include any location information which made this more difficult to
find a reduced test case for.
--
More information about the Digitalmars-d-bugs
mailing list