← Back to index
|
Original Bugzilla link
Bug 9177 – Wrong `alias func this` incorrectly reports error message
Status
RESOLVED
Resolution
FIXED
Severity
normal
Priority
P2
Component
dmd
Product
D
Version
D2
Platform
All
OS
All
Creation time
2012-12-18T04:19:00Z
Last change time
2013-02-11T22:49:57Z
Keywords
pull, rejects-valid
Assigned to
nobody
Creator
k.hara.pg
Comments
Comment #0
by k.hara.pg — 2012-12-18T04:19:10Z
This code reports weird error without file/line. code: ---- struct S { int foo(int){ return 0; } alias foo this; } pragma(msg, is(S : int)); output: --- Error: function test.S.foo (int) is not callable using argument types ()
Comment #1
by k.hara.pg — 2012-12-18T08:16:13Z
https://github.com/D-Programming-Language/dmd/pull/1385
Comment #2
by k.hara.pg — 2012-12-26T20:13:44Z
*** Issue 9215 has been marked as a duplicate of this issue. ***
Comment #3
by github-bugzilla — 2012-12-27T22:36:16Z
Commits pushed to master at
https://github.com/D-Programming-Language/dmd
https://github.com/D-Programming-Language/dmd/commit/5d8dfeeaf3b172144a93ad0220cf45f44995b5ff
fix Issue 9177 - Wrong `alias func this` incorrectly reports error message
https://github.com/D-Programming-Language/dmd/commit/9f2d9eafacd75c22ea7a705151ee2a8e20a1638c
Merge pull request #1385 from 9rnsr/fix9177 Issue 9177 - Wrong `alias func this` incorrectly reports error message
Comment #4
by k.hara.pg — 2012-12-27T23:46:26Z
Confirmed fixed with git head.
Comment #5
by github-bugzilla — 2012-12-28T11:11:19Z
Commit pushed to staging at
https://github.com/D-Programming-Language/dmd
https://github.com/D-Programming-Language/dmd/commit/a99595563407e1dd813a83c8f21e290424fc6bc6
Merge pull request #1385 from 9rnsr/fix9177 Issue 9177 - Wrong `alias func this` incorrectly reports error message
Comment #6
by github-bugzilla — 2013-02-11T22:49:57Z
Commits pushed to
https://github.com/D-Programming-Language/dmd
https://github.com/D-Programming-Language/dmd/commit/5d8dfeeaf3b172144a93ad0220cf45f44995b5ff
fix Issue 9177 - Wrong `alias func this` incorrectly reports error message
https://github.com/D-Programming-Language/dmd/commit/9f2d9eafacd75c22ea7a705151ee2a8e20a1638c
Merge pull request #1385 from 9rnsr/fix9177