[Issue 10160] No line number "cannot modify struct ... with immutable members"

d-bugmail at puremagic.com d-bugmail at puremagic.com
Fri May 24 01:09:31 PDT 2013


http://d.puremagic.com/issues/show_bug.cgi?id=10160


Kenji Hara <k.hara.pg at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|normal                      |regression


--- Comment #1 from Kenji Hara <k.hara.pg at gmail.com> 2013-05-24 01:09:30 PDT ---
This little modified code works with 2.062, but causes same no line number
error with git head.

struct S
{
    this(this) {}
}
struct X
{
    const int x = 1;   // add initializer
    S s;
}
void main()
{
    X x;
}

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list