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
    import std.regex;
    static immutable TOC_LINE_PATTERN =
    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.


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

Reply via email to