Compilation issue

kink via digitalmars-d-ldc digitalmars-d-ldc at puremagic.com
Fri Oct 23 01:15:59 PDT 2015


On Friday, 23 October 2015 at 07:45:55 UTC, David Nadlinger wrote:
> On 23 Oct 2015, at 9:36, Russel Winder via digitalmars-d-ldc 
> wrote:
>> Since the error appears revolve around code in 
>> std.parallelism, and it
>> works with DMD, is this something for a bug report?
>
> Yes – I must have somehow scared you into not reporting bugs on 
> GitHub anymore. ;)
>
> But as soon as you are reasonably confident it is not an issue 
> with your environment (i.e. have cleaned the build directory, 
> removed any non-standard build flags, etc.), please feel free 
> to just create an issue on the tracker with your environment 
> information (ldc2 -version, etc.) and reproduction steps.

I could reproduce it yesterday with current merge-2.068. The 
first error (cannot access nested frame...) is firmly in 
front-end territory. It's again that weird issue that (templated) 
structs (MapResult etc.) get somehow nested in the local scope; 
in that front-end code, it traverses the struct's parents (the 
correct ones, i.e., some Phobos scope), but doesn't find the 
wrong parent it is searching for (my main() function).
I'd suspect an issue with merging the 2.068 front-end.


More information about the digitalmars-d-ldc mailing list