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
https://github.com/D-Programming-Language/dmd/pull/4400
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();
Commits pushed to 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