D issues are now tracked on GitHub. This Bugzilla instance remains as a read-only archive.
Issue 14165 - Link failure on class declaration with @disable this();
Summary: Link failure on class declaration with @disable this();
Status: RESOLVED FIXED
Alias: None
Product: D
Classification: Unclassified
Component: dmd (show other issues)
Version: D2
Hardware: All All
: P1 major
Assignee: No Owner
URL:
Keywords: link-failure, pull
Depends on:
Blocks:
 
Reported: 2015-02-10 13:02 UTC by Kenji Hara
Modified: 2015-02-21 09:11 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description Kenji Hara 2015-02-10 13:02:54 UTC
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 2 github-bugzilla 2015-02-10 14:01:50 UTC
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 github-bugzilla 2015-02-21 09:11:18 UTC
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