[Issue 11317] glue.c:1218: virtual unsigned int Type::totym(): Assertion `0' failed.

2013-11-15 Thread d-bugmail
https://d.puremagic.com/issues/show_bug.cgi?id=11317



--- Comment #3 from Kenji Hara k.hara...@gmail.com 2013-11-15 23:25:26 PST ---
Merged pull request: https://github.com/D-Programming-Language/dmd/pull/2766

-- 
Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email
--- You are receiving this mail because: ---


[Issue 11317] glue.c:1218: virtual unsigned int Type::totym(): Assertion `0' failed.

2013-11-14 Thread d-bugmail
https://d.puremagic.com/issues/show_bug.cgi?id=11317


yebblies yebbl...@gmail.com changed:

   What|Removed |Added

   Keywords||pull
 CC||yebbl...@gmail.com


--- Comment #1 from yebblies yebbl...@gmail.com 2013-11-14 23:57:43 EST ---
void test11317()
{
auto ref uint fun11317()
{
return 0;
}
assert(fun11317() == 0);
}

fun11317 is correctly inferred to be non-ref, but the glue layer (seeing that
tf-isref is true) tries to take the address of it anyway.  Hence the error,
which causes the ice.

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

-- 
Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email
--- You are receiving this mail because: ---


[Issue 11317] glue.c:1218: virtual unsigned int Type::totym(): Assertion `0' failed.

2013-11-14 Thread d-bugmail
https://d.puremagic.com/issues/show_bug.cgi?id=11317


Walter Bright bugzi...@digitalmars.com changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||FIXED


-- 
Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email
--- You are receiving this mail because: ---


[Issue 11317] glue.c:1218: virtual unsigned int Type::totym(): Assertion `0' failed.

2013-11-14 Thread d-bugmail
https://d.puremagic.com/issues/show_bug.cgi?id=11317



--- Comment #2 from github-bugzi...@puremagic.com 2013-11-14 12:44:32 PST ---
Commits pushed to master at https://github.com/D-Programming-Language/dmd

https://github.com/D-Programming-Language/dmd/commit/9ba50eecb45ce883130f36a96408dac767b276f0
fix Issue 11317 - glue.c:1218: virtual unsigned int Type::totym(): Assertion
`0' failed.

Make ref-ness deduction and return type inference orthogonal.

https://github.com/D-Programming-Language/dmd/commit/38c51e74395c2daede20474c656477a75fafbeb7
Merge pull request #2766 from 9rnsr/fix11317

Issue 11317 - glue.c:1218: virtual unsigned int Type::totym(): Assertion `0'
failed.

-- 
Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email
--- You are receiving this mail because: ---