Thread overview | |||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
July 15, 2011 [Issue 6325] New: Assertion failure: '0' on line 1123 in file 'glue.c' | ||||
---|---|---|---|---|
| ||||
http://d.puremagic.com/issues/show_bug.cgi?id=6325 Summary: Assertion failure: '0' on line 1123 in file 'glue.c' Product: D Version: D2 Platform: Other OS/Version: Windows Status: NEW Severity: normal Priority: P2 Component: DMD AssignedTo: nobody@puremagic.com ReportedBy: verylonglogin.reg@gmail.com --- Comment #0 from Denis <verylonglogin.reg@gmail.com> 2011-07-15 10:20:29 PDT --- Original test-case was posted as comment for Issue6296. IMHO, it isn't a duplicate of those issue. DustMite-d testcase: template Rebindable(T) if( is(T) ) { } template hasUnsharedAliasing(R : Rebindable!R) { } struct S { static Z f() { assert(0); } alias typeof(this) Z; } void main() { S.f(); } -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
July 15, 2011 [Issue 6325] Assertion failure: '0' on line 1123 in file 'glue.c' | ||||
---|---|---|---|---|
| ||||
Posted in reply to Denis | http://d.puremagic.com/issues/show_bug.cgi?id=6325 Vladimir Panteleev <thecybershadow@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |thecybershadow@gmail.com --- Comment #1 from Vladimir Panteleev <thecybershadow@gmail.com> 2011-07-15 10:50:43 PDT --- One note: the main() is unnecessary for me. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
July 15, 2011 [Issue 6325] Assertion failure: '0' on line 1123 in file 'glue.c' | ||||
---|---|---|---|---|
| ||||
Posted in reply to Denis | http://d.puremagic.com/issues/show_bug.cgi?id=6325 --- Comment #2 from Denis <verylonglogin.reg@gmail.com> 2011-07-15 10:54:26 PDT --- (In reply to comment #1) > One note: the main() is unnecessary for me. For me it isn't unnecessary to call it "main". It can be "g", but it must contain this body. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
July 15, 2011 [Issue 6325] Assertion failure: '0' on line 1123 in file 'glue.c' | ||||
---|---|---|---|---|
| ||||
Posted in reply to Denis | http://d.puremagic.com/issues/show_bug.cgi?id=6325 --- Comment #3 from Vladimir Panteleev <thecybershadow@gmail.com> 2011-07-15 10:55:43 PDT --- Sorry, main() is unnecessary if I compile with -g. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
July 15, 2011 [Issue 6325] Assertion failure: '0' on line 1123 in file 'glue.c' | ||||
---|---|---|---|---|
| ||||
Posted in reply to Denis | http://d.puremagic.com/issues/show_bug.cgi?id=6325 --- Comment #4 from Denis <verylonglogin.reg@gmail.com> 2011-07-15 10:57:57 PDT --- Corrected version of my previous comment: For me it isn't necessary to call it "main" (if compiling without -g). It can be "f" or "g", but it must contain "S.f();" in it's body. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
July 15, 2011 [Issue 6325] Assertion failure: '0' on line 1123 in file 'glue.c' | ||||
---|---|---|---|---|
| ||||
Posted in reply to Denis | http://d.puremagic.com/issues/show_bug.cgi?id=6325 Trass3r <mrmocool@gmx.de> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |mrmocool@gmx.de --- Comment #5 from Trass3r <mrmocool@gmx.de> 2011-07-15 15:35:27 PDT --- $ dmd -c bug6325.d DMD v2.054 DEBUG ty = 36, '_error_' access violation and after removing the templates: $ dmd -c bug6325.d DMD v2.054 DEBUG ty = 38, 'typeof(this)' Error: forward reference of typeof(this) ty = 38, 'typeof(this)' Error: forward reference of typeof(this) Linux x64 -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
October 23, 2011 [Issue 6325] ICE(glue.c) forward reference error in template constraint | ||||
---|---|---|---|---|
| ||||
Posted in reply to Denis | http://d.puremagic.com/issues/show_bug.cgi?id=6325 Don <clugdbug@yahoo.com.au> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |clugdbug@yahoo.com.au Summary|Assertion failure: '0' on |ICE(glue.c) forward |line 1123 in file 'glue.c' |reference error in template | |constraint --- Comment #6 from Don <clugdbug@yahoo.com.au> 2011-10-22 22:38:23 PDT --- Probably the same issue as bug 6774. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
October 05, 2013 [Issue 6325] ICE(glue.c) forward reference error in template constraint | ||||
---|---|---|---|---|
| ||||
Posted in reply to Denis | http://d.puremagic.com/issues/show_bug.cgi?id=6325 Walter Bright <bugzilla@digitalmars.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |bugzilla@digitalmars.com --- Comment #7 from Walter Bright <bugzilla@digitalmars.com> 2013-10-05 16:43:16 PDT --- This compiles without error on dmd 2.064 head. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
October 05, 2013 [Issue 6325] ICE(glue.c) forward reference error in template constraint | ||||
---|---|---|---|---|
| ||||
Posted in reply to Denis | http://d.puremagic.com/issues/show_bug.cgi?id=6325 Walter Bright <bugzilla@digitalmars.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |WORKSFORME -- 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