Bug 14165 – Link failure on class declaration with @disable this();

Status
RESOLVED
Resolution
FIXED
Severity
major
Priority
P1
Component
dmd
Product
D
Version
D2
Platform
All
OS
All
Creation time
2015-02-10T13:02:00Z
Last change time
2015-02-21T09:11:18Z
Keywords
link-failure, pull
Assigned to
nobody
Creator
k.hara.pg

Comments

Comment #0 by k.hara.pg — 2015-02-10T13:02:54Z
Spin-off from https://issues.dlang.org/show_bug.cgi?id=14163 class Foo { @disable this(); this(int i) {} } void main() {} $ dmd test 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 _D4test3Foo6__ctorMFZC4test3Foo --- errorlevel 1
Comment #1 by k.hara.pg — 2015-02-10T13:07:02Z
Comment #2 by github-bugzilla — 2015-02-10T14:01:50Z
Commits pushed to master at https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/4cc735838b3eb1719e0aea0a3f7750da09f077be fix Issue 14165 - Link failure on class declaration with @disable this(); https://github.com/D-Programming-Language/dmd/commit/179ec7bc23b8c97aa4f6867b06b1af5cd8ba820f Merge pull request #4400 from 9rnsr/fix14165 Issue 14165 - Link failure on class declaration with @disable this();
Comment #3 by github-bugzilla — 2015-02-21T09:11:18Z