digitalmars.D.learn - Assertion failure: '0' on line 1215 in file 'glue.c'
- Wolftein (6/6) Oct 31 2013 Assertion failure: '0' on line 1215 in file 'glue.c'
- bearophile (6/12) Oct 31 2013 It seems both a compiler bug fit for bugzilla, and a bug in your
- Wolftein (4/19) Oct 31 2013 TypeTuple!(uint, uint)[uint] -> won't work neither
- Wolftein (2/25) Oct 31 2013 Reported :) http://d.puremagic.com/issues/show_bug.cgi?id=11404
- Jonathan M Davis (6/19) Oct 31 2013 Ah, yeah. TypeTuple won't work there (I missed that and thought that he ...
- Jonathan M Davis (6/15) Oct 31 2013 Any and all assertions in the compiler which are triggered when compilen...
Assertion failure: '0' on line 1215 in file 'glue.c' When trying to compile this: TypeTuple!(void delegate(Event), EventPriority, ulong)[uint] _ownerList; Is that a compiler bug or i'm doing something that i don't suppose to do.
Oct 31 2013
Wolftein:Assertion failure: '0' on line 1215 in file 'glue.c' When trying to compile this: TypeTuple!(void delegate(Event), EventPriority, ulong)[uint] _ownerList; Is that a compiler bug or i'm doing something that i don't suppose to do.It seems both a compiler bug fit for bugzilla, and a bug in your code (TypeTuples are not meant for delegates, I think). Create a minimal example for Bugzilla... Bye, bearophile
Oct 31 2013
On Thursday, 31 October 2013 at 19:39:37 UTC, bearophile wrote:Wolftein:TypeTuple!(uint, uint)[uint] -> won't work neither There seems to be a problem with TypeTuple and associative arrays in general.Assertion failure: '0' on line 1215 in file 'glue.c' When trying to compile this: TypeTuple!(void delegate(Event), EventPriority, ulong)[uint] _ownerList; Is that a compiler bug or i'm doing something that i don't suppose to do.It seems both a compiler bug fit for bugzilla, and a bug in your code (TypeTuples are not meant for delegates, I think). Create a minimal example for Bugzilla... Bye, bearophile
Oct 31 2013
On Thursday, 31 October 2013 at 19:48:19 UTC, Wolftein wrote:On Thursday, 31 October 2013 at 19:39:37 UTC, bearophile wrote:Reported :) http://d.puremagic.com/issues/show_bug.cgi?id=11404Wolftein:TypeTuple!(uint, uint)[uint] -> won't work neither There seems to be a problem with TypeTuple and associative arrays in general.Assertion failure: '0' on line 1215 in file 'glue.c' When trying to compile this: TypeTuple!(void delegate(Event), EventPriority, ulong)[uint] _ownerList; Is that a compiler bug or i'm doing something that i don't suppose to do.It seems both a compiler bug fit for bugzilla, and a bug in your code (TypeTuples are not meant for delegates, I think). Create a minimal example for Bugzilla... Bye, bearophile
Oct 31 2013
On Thursday, October 31, 2013 20:39:36 bearophile wrote:Wolftein:Ah, yeah. TypeTuple won't work there (I missed that and thought that he was using a Tuple). TypeTuple is really only for metaprogramming, and it's a compile-time only entity, so it won't work in an AA. std.typecons.Tuple is what he'd have to use. - Jonathan M DavisAssertion failure: '0' on line 1215 in file 'glue.c' When trying to compile this: TypeTuple!(void delegate(Event), EventPriority, ulong)[uint] _ownerList; Is that a compiler bug or i'm doing something that i don't suppose to do.It seems both a compiler bug fit for bugzilla, and a bug in your code (TypeTuples are not meant for delegates, I think).
Oct 31 2013
On Thursday, October 31, 2013 20:30:25 Wolftein wrote:Assertion failure: '0' on line 1215 in file 'glue.c' When trying to compile this: TypeTuple!(void delegate(Event), EventPriority, ulong)[uint] _ownerList; Is that a compiler bug or i'm doing something that i don't suppose to do.Any and all assertions in the compiler which are triggered when compileng are a bug in the compiler. So, yes, this is a compiler bug - regardless of whether your code is valid or not (though I don't see anything obviously wrong with it). - Jonathan M Davis
Oct 31 2013