www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 10984] New: Frame access diagnostic should improve

reply d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=10984

           Summary: Frame access diagnostic should improve
           Product: D
           Version: D2
          Platform: All
        OS/Version: All
            Status: NEW
          Keywords: diagnostic
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: nobody puremagic.com
        ReportedBy: andrej.mitrovich gmail.com



17:34:39 PDT ---
-----
void main()
{
}

unittest
{
    int x;
    static void f() { x++; }
}
-----

 test.d(8): Error: function test.__unittestL7_1.f cannot access frame of
function test.__unittestL7_1
It should be:
 test.d(8): Error: static function test.__unittestL7_1.f cannot access frame of
function test.__unittestL7_1.
-- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Sep 06 2013
next sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=10984


Andrej Mitrovic <andrej.mitrovich gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |pull
         AssignedTo|nobody puremagic.com        |andrej.mitrovich gmail.com



15:22:05 PDT ---
https://github.com/D-Programming-Language/dmd/pull/2554

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Sep 13 2013
prev sibling next sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=10984




Commits pushed to master at https://github.com/D-Programming-Language/dmd

https://github.com/D-Programming-Language/dmd/commit/20ad475aa59a82a2f945443943eb642bd14c3ec5
Fixes Issue 10984 - Better diagnostic for static function when attempting to
access a symbol requiring frame access.

https://github.com/D-Programming-Language/dmd/commit/654090e9c95029d783f570dbf99412944a0dbc55


Issue 10984 - Better diagnostic for static function frame access error

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Sep 13 2013
prev sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=10984


Walter Bright <bugzilla digitalmars.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |bugzilla digitalmars.com
         Resolution|                            |FIXED


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