Thread overview
[phobos] phobos commit, revision 1667
Jun 19, 2010
dsource.org
Jun 19, 2010
Sean Kelly
June 19, 2010
phobos commit, revision 1667


user: sean

msg:
Added a default ctor for Tuple (needed to put a Tuple in a Variant).
Fixed an issue with the Tuple copy ctor.  It now compiles.
Added prioritySend per TDPL.  Needs more testing, but it looks good so far.

http://www.dsource.org/projects/phobos/changeset/1667

June 19, 2010
Hey folks,


Thanks for the great work as of late! Following the latest and greatest updates, I checked out dmd, druntime, and phobos, but phobos won't build. The error message (pretty neat) is as follows:

std/typecons.d(353): Error: static assert  (2u == 1u) is false
std/concurrency.d(65):        instantiated from here:
__ctor!(Tuple!(int,int),int,int)
std/concurrency.d(336):        instantiated from here:
__ctor!(Tuple!(int,int))
std/concurrency.d(326):        instantiated from here:
_send!(Tuple!(int,int))
std/concurrency.d(308):        instantiated from here:
_send!(Tuple!(int,int))
std/concurrency.d(1123):        instantiated from here:
send!(Tuple!(int,int))

Looks like Sean's trials and tribulations with Tuple haven't yet ended. Sean, what might be the problem?


Andrei

On 06/19/2010 01:46 AM, dsource.org wrote:
> phobos commit, revision 1667
>
>
> user: sean
>
> msg:
> Added a default ctor for Tuple (needed to put a Tuple in a Variant).
> Fixed an issue with the Tuple copy ctor.  It now compiles.
> Added prioritySend per TDPL.  Needs more testing, but it looks good so far.
>
> http://www.dsource.org/projects/phobos/changeset/1667
>
> _______________________________________________
> phobos mailing list
> phobos at puremagic.com
> http://lists.puremagic.com/mailman/listinfo/phobos
June 19, 2010
I think this may be an issue with nested tuples. Is this a unittest? I'll look into it shortly.

Sent from my iPhone

On Jun 19, 2010, at 9:22 AM, Andrei Alexandrescu <andrei at erdani.com> wrote:

> Hey folks,
>
>
> Thanks for the great work as of late! Following the latest and greatest updates, I checked out dmd, druntime, and phobos, but phobos won't build. The error message (pretty neat) is as follows:
>
> std/typecons.d(353): Error: static assert  (2u == 1u) is false
> std/concurrency.d(65):        instantiated from here: __ctor!(Tuple!
> (int,int),int,int)
> std/concurrency.d(336):        instantiated from here: __ctor!(Tuple!
> (int,int))
> std/concurrency.d(326):        instantiated from here: _send!(Tuple!
> (int,int))
> std/concurrency.d(308):        instantiated from here: _send!(Tuple!
> (int,int))
> std/concurrency.d(1123):        instantiated from here: send!(Tuple!
> (int,int))
>
> Looks like Sean's trials and tribulations with Tuple haven't yet ended. Sean, what might be the problem?
>
>
> Andrei
>
> On 06/19/2010 01:46 AM, dsource.org wrote:
>> phobos commit, revision 1667
>>
>>
>> user: sean
>>
>> msg:
>> Added a default ctor for Tuple (needed to put a Tuple in a Variant).
>> Fixed an issue with the Tuple copy ctor.  It now compiles.
>> Added prioritySend per TDPL.  Needs more testing, but it looks good
>> so far.
>>
>> http://www.dsource.org/projects/phobos/changeset/1667
>>
>> _______________________________________________
>> phobos mailing list
>> phobos at puremagic.com
>> http://lists.puremagic.com/mailman/listinfo/phobos
> _______________________________________________
> phobos mailing list
> phobos at puremagic.com
> http://lists.puremagic.com/mailman/listinfo/phobos