[Issue 11034] ICE: Assertion failed: (!scope), function toObjFile, file toobj.c, line 366.

d-bugmail at puremagic.com d-bugmail at puremagic.com
Fri Nov 15 00:25:25 PST 2013


https://d.puremagic.com/issues/show_bug.cgi?id=11034


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

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |pull


--- Comment #2 from Kenji Hara <k.hara.pg at gmail.com> 2013-11-15 00:25:20 PST ---
(In reply to comment #1)
> Adding:
> 
> >     Module::dprogress = 1;
> >     Module::runDeferredSemantic();
> 
> to line 1577 in mars.c resolves the forward ref problem. But the bizarre thing
> is with or without that change, the std.range import results in errors, caused
> by the unrelated fwd refs. I'm baffled at the moment.

The root cause is that current forward reference check for class declarations
is strongly associated with class instance size.

https://github.com/D-Programming-Language/dmd/pull/2775

-- 
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