← Back to index
|
Original Bugzilla link
Bug 13050 – pragma mangle breaks homonym template aliasing
Status
RESOLVED
Resolution
FIXED
Severity
normal
Priority
P1
Component
dmd
Product
D
Version
D2
Platform
All
OS
All
Creation time
2014-07-05T19:20:00Z
Last change time
2014-08-22T08:04:12Z
Keywords
pull, rejects-valid
Assigned to
nobody
Creator
code
Comments
Comment #0
by code — 2014-07-05T19:20:19Z
void foo(); template decl(Arg) { void decl(Arg); } template bug(Arg) { pragma(mangle, "foobar") void bug(Arg); } template workaround(Arg) { pragma(mangle, "foobar") void func(Arg); alias workaround = func; } pragma(msg, typeof(foo)); pragma(msg, typeof(decl!int)); pragma(msg, typeof(bug!int)); pragma(msg, typeof(workaround!int)); ---- void() void(int) void // NG - homonym aliasing doesn't work for mangled function void(int) ----
Comment #1
by k.hara.pg — 2014-07-06T09:58:23Z
https://github.com/D-Programming-Language/dmd/pull/3721
Comment #2
by github-bugzilla — 2014-07-06T13:16:00Z
Commits pushed to master at
https://github.com/D-Programming-Language/dmd
https://github.com/D-Programming-Language/dmd/commit/cfb3e045a1c6814c18fd0893ef305b02a565db20
fix Issue 13050 - pragma mangle breaks homonym template aliasing
https://github.com/D-Programming-Language/dmd/commit/10ad98bcbd40b133cf0ef990d2b551c20b8ed93f
Merge pull request #3721 from 9rnsr/fix13050 Issue 13050 - pragma mangle breaks homonym template aliasing
Comment #3
by github-bugzilla — 2014-07-08T01:25:09Z
Commit pushed to 2.066 at
https://github.com/D-Programming-Language/dmd
https://github.com/D-Programming-Language/dmd/commit/aef6ebf8fff01e7ad8a95e66d6bb953b46d7262b
Merge pull request #3721 from 9rnsr/fix13050 Issue 13050 - pragma mangle breaks homonym template aliasing
Comment #4
by github-bugzilla — 2014-08-01T18:25:38Z
Commits pushed to master at
https://github.com/D-Programming-Language/druntime
https://github.com/D-Programming-Language/druntime/commit/f888fbcff82f30c549a7cccd98191dedcc3101ec
remove workarounds for resolved issue 13049 and 13050
https://github.com/D-Programming-Language/druntime/commit/cb512c2d6962346ef6325ca2bf4d62d4f9d75aca
Merge pull request #917 from MartinNowak/removeWorkarounds remove workarounds for resolved issue 13049 and 13050
Comment #5
by github-bugzilla — 2014-08-22T08:04:12Z
Commit pushed to master at
https://github.com/D-Programming-Language/dmd
https://github.com/D-Programming-Language/dmd/commit/aef6ebf8fff01e7ad8a95e66d6bb953b46d7262b
Merge pull request #3721 from 9rnsr/fix13050