LDC 0.15.0 beta1 released! Please help test!

Daniel N via digitalmars-d-ldc digitalmars-d-ldc at puremagic.com
Mon Nov 17 05:08:58 PST 2014


On Sunday, 16 November 2014 at 22:37:43 UTC, David Nadlinger via 
digitalmars-d-ldc wrote:
> On 15 Nov 2014, at 21:35, Daniel N via digitalmars-d-ldc wrote:
>> I hope this is sufficient info for you to reproduce, else I'll 
>> help more next week
>
> Issue on the GitHub tracker: 
> https://github.com/ldc-developers/ldc/issues/797
> Bug fix: https://github.com/ldc-developers/ldc/pull/798
>
> A minimal test case would still be nice.
>
> Cheers,
> David

Great, thanks!

I dusted it down fairly good now, might not be fully minimal but 
at least it's small.

import std.algorithm;
import std.traits;

struct PrioritySearch(Graph)
{
     alias Vertex = ParameterTypeTuple!(Graph.adjacent);
     Tuple!(Vertex) Node;

     this(Graph graph)
     {
     }
}

unittest
{
     struct Graph
     {
         void adjacent(int[1])
         {
         }
     }

     PrioritySearch!(Graph)(Graph.init);
}

Regards,
Daniel N


More information about the digitalmars-d-ldc mailing list