Thread overview | ||||||||
---|---|---|---|---|---|---|---|---|
|
September 29, 2012 [Issue 8735] New: Can't use alias this on template + ICE: Assertion failure: 't' on line 100 in file 'aliasthis.c' | ||||
---|---|---|---|---|
| ||||
http://d.puremagic.com/issues/show_bug.cgi?id=8735 Summary: Can't use alias this on template + ICE: Assertion failure: 't' on line 100 in file 'aliasthis.c' Product: D Version: D2 Platform: All OS/Version: All Status: NEW Severity: normal Priority: P2 Component: DMD AssignedTo: nobody@puremagic.com ReportedBy: andrej.mitrovich@gmail.com --- Comment #0 from Andrej Mitrovic <andrej.mitrovich@gmail.com> 2012-09-28 20:34:23 PDT --- Two bugs. First bug: struct Foo { int test(string op)() { return 0; } alias test!"*" this; } test.d(15): Error: no identifier for declarator test!("*") test.d(15): Error: semicolon expected to close alias declaration Second bug: struct Foo { int test(string op)() { return 0; } alias test!"*" getVar; alias getVar this; } Assertion failure: 't' on line 100 in file 'aliasthis.c' I think both should work because this works ok: struct Foo { int test(string op)() { return 0; } auto getVar() { return test!"*"(); } alias getVar this; } -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
March 13, 2013 [Issue 8735] Can't use alias this on template + ICE: Assertion failure: 't' on line 100 in file 'aliasthis.c' | ||||
---|---|---|---|---|
| ||||
Posted in reply to Andrej Mitrovic | http://d.puremagic.com/issues/show_bug.cgi?id=8735 monarchdodra@gmail.com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |monarchdodra@gmail.com --- Comment #1 from monarchdodra@gmail.com 2013-03-13 09:11:26 PDT --- Stumbled upon this, with (I think) a simple reduced case: //---- struct S(alias Arg) { alias Arg Val; alias Val this; } alias S!1 S1; //---- Assertion failure: 't' on line 100 in file 'aliasthis.c' abnormal program termination The code is not legal (AFAIK), but ICE none the less. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
March 13, 2013 [Issue 8735] Can't use alias this on template + ICE: Assertion failure: 't' on line 100 in file 'aliasthis.c' | ||||
---|---|---|---|---|
| ||||
Posted in reply to Andrej Mitrovic | http://d.puremagic.com/issues/show_bug.cgi?id=8735 Zhenya Chapovsky <zheny@list.ru> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |zheny@list.ru --- Comment #2 from Zhenya Chapovsky <zheny@list.ru> 2013-03-13 10:42:07 PDT --- *** Issue 9709 has been marked as a duplicate of this issue. *** -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
October 07, 2013 [Issue 8735] Can't use alias this on template + ICE: Assertion failure: 't' on line 100 in file 'aliasthis.c' | ||||
---|---|---|---|---|
| ||||
Posted in reply to Andrej Mitrovic | http://d.puremagic.com/issues/show_bug.cgi?id=8735 Walter Bright <bugzilla@digitalmars.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |bugzilla@digitalmars.com --- Comment #3 from Walter Bright <bugzilla@digitalmars.com> 2013-10-06 23:48:09 PDT --- (In reply to comment #0) > Two bugs. Please, one bug report per bugzilla issue. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
October 07, 2013 [Issue 8735] Can't use alias this on template + ICE: Assertion failure: 't' on line 100 in file 'aliasthis.c' | ||||
---|---|---|---|---|
| ||||
Posted in reply to Andrej Mitrovic | http://d.puremagic.com/issues/show_bug.cgi?id=8735 --- Comment #4 from Andrej Mitrovic <andrej.mitrovich@gmail.com> 2013-10-07 07:43:23 PDT --- (In reply to comment #3) > (In reply to comment #0) > > Two bugs. > > Please, one bug report per bugzilla issue. Yes, but these are highly related to each other. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
October 07, 2013 [Issue 8735] Can't use alias this on template + ICE: Assertion failure: 't' on line 100 in file 'aliasthis.c' | ||||
---|---|---|---|---|
| ||||
Posted in reply to Andrej Mitrovic | http://d.puremagic.com/issues/show_bug.cgi?id=8735 --- Comment #5 from Walter Bright <bugzilla@digitalmars.com> 2013-10-07 12:48:09 PDT --- (In reply to comment #4) > (In reply to comment #3) > > (In reply to comment #0) > > > Two bugs. > > > > Please, one bug report per bugzilla issue. > > Yes, but these are highly related to each other. Yes, you can link one bugzilla report to another. Things that require DIFFERENT fixes need to be in SEPARATE issues. Otherwise, it's just miserable and confusing from numerous standpoints. It's not like we're going to overflow the bugzilla issue number counter, nor are we getting billed per issue number. -- 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