[Issue 17309] [REG 2.073.2] constructor template doesn't infer `pure`

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Tue Apr 11 02:18:59 PDT 2017


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

Walter Bright <bugzilla at digitalmars.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bugzilla at digitalmars.com

--- Comment #1 from Walter Bright <bugzilla at digitalmars.com> ---
If the constructor is marked as 'immutable', it compiles.

It also compiles with dmd 2.070, didn't check other versions.

--


More information about the Digitalmars-d-bugs mailing list