Release D 2.072.0

Soulsbane via Digitalmars-d-announce digitalmars-d-announce at puremagic.com
Thu Nov 10 16:05:04 PST 2016


On Thursday, 10 November 2016 at 23:02:09 UTC, Soulsbane wrote:
> On Thursday, 10 November 2016 at 15:38:08 UTC, Dicebot wrote:
>> On 11/05/2016 06:04 AM, Soulsbane wrote:
>>> [...]
>>
>> Can't reproduce:
>>
>> $ cat sample.d
>> unittest
>> {
>>     import std.regex;
>>     static immutable TOC_LINE_PATTERN =
>> `#{1,}\s*(?P<key>.*):\s*(?P<value>.*)`;
>>     auto linePattern = ctRegex!(TOC_LINE_PATTERN);
>> }
>>
>> $ dmd-dev -release -O -inline -unittest -main -run sample.d
>>
>> Can you provide more details?
>
> Sorry I hadn't gotten back on this. Isolating the code like you 
> did doesn't produce the error. It only fails in my larger 
> project(same code). It's strange.
>
> The code is in 
> https://github.com/Soulsbane/luaaddon/blob/master/source/luaaddon/tocparser.d
>
> Using struct TocParser in an empty project(just main) works 
> just fine. But as part of my later project(skeletor) it fails 
> to compile.
>
> Thanks.

Linked wrong file. 
https://github.com/Soulsbane/luaaddon/blob/7d60711b7b733144f3925a57380e58eb2aab997e/source/luaaddon/tocparser.d is the correct one.


More information about the Digitalmars-d-announce mailing list