www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 17961] New: Git HEAD std.uni does not compile with -unittest


          Issue ID: 17961
           Summary: Git HEAD std.uni does not compile with -unittest
           Product: D
           Version: D2
          Hardware: All
                OS: All
            Status: NEW
          Severity: regression
          Priority: P1
         Component: phobos
          Assignee: nobody puremagic.com
          Reporter: hsteoh quickfur.ath.cx

/* test.d */
import std.uni;

Compile command:
dmd -dip1000 -unittest -c test.d

Compiler output:
/usr/src/d/phobos/std/uni.d(2554): Error: reference to local variable
__tmpfordtor853 assigned to non-scope parameter this calling
/usr/src/d/phobos/std/uni.d(1976): Error: template instance
std.uni.InversionList!(GcPolicy) error instantiating

This used to work fine until recently. Will post an update once I finish git

Nov 02 2017