www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 14198] New: [REG2.067a] Link failure with Variant

https://issues.dlang.org/show_bug.cgi?id=14198

          Issue ID: 14198
           Summary: [REG2.067a] Link failure with Variant
           Product: D
           Version: D2
          Hardware: All
                OS: All
            Status: NEW
          Keywords: link-failure
          Severity: regression
          Priority: P1
         Component: DMD
          Assignee: nobody puremagic.com
          Reporter: k.hara.pg gmail.com

From: https://issues.dlang.org/show_bug.cgi?id=13167#c1

This code fails to compile with git-head, but succeeds with 2.066.1.

// test.d
import std.variant;
void main()
{
    Variant a = true;

}

$ dmd test.d
DMD v2.067 DEBUG
OPTLINK (R) for Win32  Release 8.00.15
Copyright (C) Digital Mars 1989-2013  All rights reserved.
http://www.digitalmars.com/ctg/optlink.html
test.obj(test)
 Error 42: Symbol Undefined _D3std4conv11__T2toTAyaZ9__T2toTbZ2toFbZAya
--- errorlevel 1

--
Feb 19 2015