Thread overview
[Issue 12144] New: [REG DMD2.064] Unresolved xopEquals when referenced by dynamic array constructor
Feb 12, 2014
Sönke Ludwig
Feb 12, 2014
Vladimir Panteleev
Feb 13, 2014
Martin Nowak
Feb 14, 2014
Martin Nowak
Feb 16, 2014
Kenji Hara
February 12, 2014
https://d.puremagic.com/issues/show_bug.cgi?id=12144

           Summary: [REG DMD2.064] Unresolved xopEquals when referenced by
                    dynamic array constructor
           Product: D
           Version: D2
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: regression
          Priority: P2
         Component: DMD
        AssignedTo: nobody@puremagic.com
        ReportedBy: sludwig@outerproduct.org


--- Comment #0 from Sönke Ludwig <sludwig@outerproduct.org> 2014-02-12 12:22:01 PST ---
The following fails starting from DMD 2.064 (2.063 works, 2.065-beta3 still fails)

a.d
---
import b;
void main() { fun(); }
---

b.d
---
struct S { bool opEquals(T : S)(T) { return false; } }
S[] fun()() { return new S[1]; }
---

dmd -lib b.d
dmd a.d b.lib

results in:
OPTLINK (R) for Win32  Release 8.00.15
Copyright (C) Digital Mars 1989-2013  All rights reserved.
http://www.digitalmars.com/ctg/optlink.html
a.obj(a)
 Error 42: Symbol Undefined _D1b1S11__xopEqualsFKxS1b1SKxS1b1SZb
--- errorlevel 1

-- 
Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
February 12, 2014
https://d.puremagic.com/issues/show_bug.cgi?id=12144


Vladimir Panteleev <thecybershadow@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |thecybershadow@gmail.com


--- Comment #1 from Vladimir Panteleev <thecybershadow@gmail.com> 2014-02-12 23:07:08 EET ---
Introduced in https://github.com/D-Programming-Language/dmd/pull/2582

-- 
Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
February 13, 2014
https://d.puremagic.com/issues/show_bug.cgi?id=12144


Martin Nowak <code@dawg.eu> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |code@dawg.eu


--- Comment #2 from Martin Nowak <code@dawg.eu> 2014-02-12 17:52:31 PST ---
*** Issue 12146 has been marked as a duplicate of this issue. ***

-- 
Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
February 14, 2014
https://d.puremagic.com/issues/show_bug.cgi?id=12144


Martin Nowak <code@dawg.eu> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |link-failure, pull


--- Comment #3 from Martin Nowak <code@dawg.eu> 2014-02-13 16:42:28 PST ---
https://github.com/D-Programming-Language/dmd/pull/3255

-- 
Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
February 16, 2014
https://d.puremagic.com/issues/show_bug.cgi?id=12144



--- Comment #4 from github-bugzilla@puremagic.com 2014-02-15 20:47:27 PST ---
Commits pushed to master at https://github.com/D-Programming-Language/dmd

https://github.com/D-Programming-Language/dmd/commit/0cf5608cd9a0041e3c47290dd52f737b40fceabd
fix Issue 12144 - Unresolved xopEquals when referenced by dynamic array
constructor

https://github.com/D-Programming-Language/dmd/commit/4f8919f100db6e40c30b6d3047e06486d0dd007d Merge pull request #3256 from 9rnsr/fix12144

[REG2.064] Issue 12144 - Unresolved xopEquals when referenced by dynamic array constructor

-- 
Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
February 16, 2014
https://d.puremagic.com/issues/show_bug.cgi?id=12144


Kenji Hara <k.hara.pg@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED


--- Comment #5 from Kenji Hara <k.hara.pg@gmail.com> 2014-02-15 21:29:10 PST ---
Merged pull request: https://github.com/D-Programming-Language/dmd/pull/3256

-- 
Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
February 16, 2014
https://d.puremagic.com/issues/show_bug.cgi?id=12144



--- Comment #6 from github-bugzilla@puremagic.com 2014-02-15 22:03:43 PST ---
Commits pushed to 2.065 at https://github.com/D-Programming-Language/dmd

https://github.com/D-Programming-Language/dmd/commit/ef0b1445ccb8492ec64d78da5583e0cbb380e15b Merge pull request #3256 from 9rnsr/fix12144

[REG2.064] Issue 12144 - Unresolved xopEquals when referenced by dynamic array
constructor
Conflicts:
    src/cast.c
    src/typinf.c
Additional fix:
    src/expression.h

https://github.com/D-Programming-Language/dmd/commit/2c3555e01458b2c15ab164f1dbc261002c9ec547 Fix up issue 12144 test case

-- 
Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------