← Back to index
|
Original Bugzilla link
Bug 17908 – Can't alias an overload set with disabled function
Status
RESOLVED
Resolution
FIXED
Severity
normal
Priority
P1
Component
dmd
Product
D
Version
D2
Platform
All
OS
All
Creation time
2017-10-17T12:20:12Z
Last change time
2017-12-18T22:56:07Z
Assigned to
No Owner
Creator
anonymous4
Comments
Comment #0
by dfj1esp02 — 2017-10-17T12:20:12Z
@disable void f(); void f(int){} alias g=f; void h(){ g(0); } Error: function f is not callable because it is annotated with @disable
Comment #1
by razvan.nitu1305 — 2017-10-26T11:39:32Z
PR :
https://github.com/dlang/dmd/pull/7244
Comment #2
by github-bugzilla — 2017-10-27T14:24:52Z
Commits pushed to master at
https://github.com/dlang/dmd
https://github.com/dlang/dmd/commit/0a319dbe2cf87e008e74c370fcbb5e70170f9c2d
Fix Issue 17908 - Can't alias an overload set with disabled function
https://github.com/dlang/dmd/commit/11bf970f0708bed12701a676e3d6a24f4db4f5d9
Merge pull request #7244 from RazvanN7/Issue_17908 Fix Issue 17908 - Can't alias an overload set with disabled function merged-on-behalf-of: Mathias Lang <
[email protected]
>
Comment #3
by github-bugzilla — 2017-12-18T22:56:07Z
Commits pushed to stable at
https://github.com/dlang/dmd
https://github.com/dlang/dmd/commit/0a319dbe2cf87e008e74c370fcbb5e70170f9c2d
Fix Issue 17908 - Can't alias an overload set with disabled function
https://github.com/dlang/dmd/commit/11bf970f0708bed12701a676e3d6a24f4db4f5d9
Merge pull request #7244 from RazvanN7/Issue_17908