Thread overview
[Issue 9177] New: Wrong `alias func this` incorrectly reports error message
Dec 18, 2012
Kenji Hara
Dec 18, 2012
Kenji Hara
Dec 27, 2012
Kenji Hara
Dec 28, 2012
Kenji Hara
December 18, 2012
http://d.puremagic.com/issues/show_bug.cgi?id=9177

           Summary: Wrong `alias func this` incorrectly reports error
                    message
           Product: D
           Version: D2
          Platform: All
        OS/Version: All
            Status: NEW
          Keywords: rejects-valid
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: nobody@puremagic.com
        ReportedBy: k.hara.pg@gmail.com


--- Comment #0 from Kenji Hara <k.hara.pg@gmail.com> 2012-12-18 04:19:10 PST ---
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 ()

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
December 18, 2012
http://d.puremagic.com/issues/show_bug.cgi?id=9177


Kenji Hara <k.hara.pg@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |pull


--- Comment #1 from Kenji Hara <k.hara.pg@gmail.com> 2012-12-18 08:16:13 PST ---
https://github.com/D-Programming-Language/dmd/pull/1385

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
December 27, 2012
http://d.puremagic.com/issues/show_bug.cgi?id=9177


Kenji Hara <k.hara.pg@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |code@klickverbot.at


--- Comment #2 from Kenji Hara <k.hara.pg@gmail.com> 2012-12-26 20:13:44 PST ---
*** Issue 9215 has been marked as a duplicate of this issue. ***

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
December 28, 2012
http://d.puremagic.com/issues/show_bug.cgi?id=9177



--- Comment #3 from github-bugzilla@puremagic.com 2012-12-27 22:36:16 PST ---
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

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
December 28, 2012
http://d.puremagic.com/issues/show_bug.cgi?id=9177


Kenji Hara <k.hara.pg@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED


--- Comment #4 from Kenji Hara <k.hara.pg@gmail.com> 2012-12-27 23:46:26 PST ---
Confirmed fixed with git head.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
December 28, 2012
http://d.puremagic.com/issues/show_bug.cgi?id=9177



--- Comment #5 from github-bugzilla@puremagic.com 2012-12-28 11:11:19 PST ---
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

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
February 12, 2013
http://d.puremagic.com/issues/show_bug.cgi?id=9177



--- Comment #6 from github-bugzilla@puremagic.com 2013-02-11 22:49:57 PST ---
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

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------