[Issue 11489] Improper implicit cast to immutable.
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Tue Nov 12 06:17:22 PST 2013
https://d.puremagic.com/issues/show_bug.cgi?id=11489
Kenji Hara <k.hara.pg at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |accepts-invalid, pull
--- Comment #3 from Kenji Hara <k.hara.pg at gmail.com> 2013-11-12 06:17:20 PST ---
Interestingly it is not related to unique object construction.
Reduced test case:
class A {}
class Foo : A {}
void main()
{
immutable A a = new Foo();
}
Compiler fix:
https://github.com/D-Programming-Language/dmd/pull/2749
--
Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
More information about the Digitalmars-d-bugs
mailing list