Thread overview | |||||||
---|---|---|---|---|---|---|---|
|
July 06, 2013 [Issue 10558] New: Assertion failure on struct.c:741 | ||||
---|---|---|---|---|
| ||||
http://d.puremagic.com/issues/show_bug.cgi?id=10558 Summary: Assertion failure on struct.c:741 Product: D Version: unspecified Platform: All OS/Version: All Status: NEW Severity: normal Priority: P2 Component: DMD AssignedTo: nobody@puremagic.com ReportedBy: youxkei@gmail.com --- Comment #0 from Hisayuki Mima <youxkei@gmail.com> 2013-07-07 03:10:05 JST --- template Template(){} struct Struct(alias T){} alias bar = foo!(Template!()); template foo(alias T) { alias foobar = Struct!T; void fun() { alias a = foo!T; } } The above code compiled, dmd v2.064-devel-3df7dab outputs: dmd: struct.c:741: virtual void StructDeclaration::semantic(Scope*): Assertion `type->ty != Tstruct || ((TypeStruct *)type)->sym == this' failed. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
July 08, 2013 [Issue 10558] Assertion failure on struct.c:741 | ||||
---|---|---|---|---|
| ||||
Posted in reply to Hisayuki Mima | http://d.puremagic.com/issues/show_bug.cgi?id=10558 Kenji Hara <k.hara.pg@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |ice, pull Version|unspecified |D2 --- Comment #1 from Kenji Hara <k.hara.pg@gmail.com> 2013-07-07 18:36:54 PDT --- https://github.com/D-Programming-Language/dmd/pull/2314 -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
July 08, 2013 [Issue 10558] Assertion failure on struct.c:741 | ||||
---|---|---|---|---|
| ||||
Posted in reply to Hisayuki Mima | http://d.puremagic.com/issues/show_bug.cgi?id=10558 Kenji Hara <k.hara.pg@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Severity|normal |regression --- Comment #2 from Kenji Hara <k.hara.pg@gmail.com> 2013-07-07 18:37:44 PDT --- This is a regression on 2.064 alpha (git head only). -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
July 08, 2013 [Issue 10558] Assertion failure on struct.c:741 | ||||
---|---|---|---|---|
| ||||
Posted in reply to Hisayuki Mima | http://d.puremagic.com/issues/show_bug.cgi?id=10558 --- Comment #3 from github-bugzilla@puremagic.com 2013-07-08 03:45:14 PDT --- Commits pushed to master at https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/ec1330d512707160628a2b235677cd36a63d390b fix Issue 10558 - Assertion failure on struct.c:741 A template instance on temlpate argument may not have yet valid `Dsymbol::ident`, so should use `Dsymbol::getIdent()` for hash calculation. https://github.com/D-Programming-Language/dmd/commit/c0c21f378467fab8e1ba933ccbdcd05336ee33b4 Merge pull request #2314 from 9rnsr/fix10558 [REG2.064a] Issue 10558 - Assertion failure on struct.c:741 -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
July 08, 2013 [Issue 10558] Assertion failure on struct.c:741 | ||||
---|---|---|---|---|
| ||||
Posted in reply to Hisayuki Mima | http://d.puremagic.com/issues/show_bug.cgi?id=10558 Walter Bright <bugzilla@digitalmars.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |bugzilla@digitalmars.com Resolution| |FIXED -- 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