September 13, 2013 [Issue 11034] New: ICE: Assertion failed: (!scope), function toObjFile, file toobj.c, line 366. | ||||
---|---|---|---|---|
| ||||
http://d.puremagic.com/issues/show_bug.cgi?id=11034 Summary: ICE: Assertion failed: (!scope), function toObjFile, file toobj.c, line 366. Product: D Version: D2 Platform: All OS/Version: All Status: NEW Severity: critical Priority: P2 Component: DMD AssignedTo: nobody@puremagic.com ReportedBy: thelastmammoth@gmail.com --- Comment #0 from thelastmammoth@gmail.com 2013-09-13 13:41:07 PDT --- in both cases there's a bug: could be related to another bug I've just posted: Issue 11019. dmd main.d { dmd 2.063.2: Assertion failed: (!scope), function toObjFile, file toobj.c, line 366. dmd master: Assertion failed: (!scope), function toObjFile, file toobj.c, line 218. } dmd -version=A main.d{ error that makes no sense, with no relevance to main.d: std/format.d(2950): Error: template std.format.formatValue does not match any function template declaration. Candidates are: ... } --------------------------- version(A) import std.range; class A(__T) { A!(int) View(){ return null; } } class B(__T) : A!(int) { C!(int) View() { return null;} } class C(__T) : B!(int) { } void main(){ auto a=new B!(int); } -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
October 02, 2013 [Issue 11034] ICE: Assertion failed: (!scope), function toObjFile, file toobj.c, line 366. | ||||
---|---|---|---|---|
| ||||
Posted in reply to thelastmammoth@gmail.com | http://d.puremagic.com/issues/show_bug.cgi?id=11034 Walter Bright <bugzilla@digitalmars.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |bugzilla@digitalmars.com --- Comment #1 from Walter Bright <bugzilla@digitalmars.com> 2013-10-01 20:08:21 PDT --- 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. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
Copyright © 1999-2021 by the D Language Foundation