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


Don <clugd...@yahoo.com.au> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |diagnostic


--- Comment #1 from Don <clugd...@yahoo.com.au> 2010-06-11 04:43:07 PDT ---
The error message is generated while running the semantic pass on the
synthesised opAssign().

Here's an extraordinary variation:

struct A {
    ~this() {    }
    invariant() {    }
    A opAssign(A a) { return this; }
}
--
Error: cannot goto forward into different try block level


This has to be the most bizarre and unhelpful error message I've ever seen in
D.

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

Reply via email to