← Back to index
|
Original Bugzilla link
Bug 19233 – name conflict for init
Status
RESOLVED
Resolution
DUPLICATE
Severity
enhancement
Priority
P4
Component
dmd
Product
D
Version
D2
Platform
x86
OS
Windows
Creation time
2018-09-08T03:17:01Z
Last change time
2023-04-28T11:17:53Z
Assigned to
No Owner
Creator
Heromyth
Comments
Comment #0
by bitworld — 2018-09-08T03:17:01Z
// Test code class ExtensionConfig { void init(string s) { } } void main() { ExtensionConfig config = ExtensionConfig.init; } // error message source\app.d(49,27): Error: function app.ExtensionConfig.init(string s) is not callable using argument types () See also:
https://issues.dlang.org/show_bug.cgi?id=17954
Comment #1
by razvan.nitu1305 — 2023-04-28T11:17:53Z
This is a manifestation of 17954. As such I don't see any point in keeping this open. *** This issue has been marked as a duplicate of issue 17954 ***