www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 12316] New: GIT HEAD: AA.get broken for Object VAL types

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

           Summary: GIT HEAD: AA.get broken for Object VAL types
           Product: D
           Version: D2
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: regression
          Priority: P2
         Component: DMD
        AssignedTo: nobody puremagic.com
        ReportedBy: puneet coverify.org


--- Comment #0 from Puneet Goel <puneet coverify.org> 2014-03-08 07:53:09 PST
---
Error: cannot implicitly convert expression (defVal) of type object.Object to
inout(Object)

void main() {
  Object defObj = null;
  Object[int] foo;
  auto frop = foo.get(0, null);    // compiles fine
  auto bar = foo.get(0, defObj); // error
}

-- 
Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Mar 08 2014
next sibling parent d-bugmail puremagic.com writes:
https://d.puremagic.com/issues/show_bug.cgi?id=12316


Vladimir Panteleev <thecybershadow gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |thecybershadow gmail.com


--- Comment #1 from Vladimir Panteleev <thecybershadow gmail.com> 2014-03-09
00:11:43 EET ---
Introduced in https://github.com/D-Programming-Language/druntime/pull/733

-- 
Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Mar 08 2014
prev sibling next sibling parent d-bugmail puremagic.com writes:
https://d.puremagic.com/issues/show_bug.cgi?id=12316


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

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |pull, rejects-valid


--- Comment #2 from Kenji Hara <k.hara.pg gmail.com> 2014-03-09 21:09:15 PDT ---
https://github.com/D-Programming-Language/dmd/pull/3369

-- 
Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Mar 09 2014
prev sibling next sibling parent d-bugmail puremagic.com writes:
https://d.puremagic.com/issues/show_bug.cgi?id=12316



--- Comment #3 from github-bugzilla puremagic.com 2014-03-23 02:34:47 PDT ---
Commits pushed to master at https://github.com/D-Programming-Language/dmd

https://github.com/D-Programming-Language/dmd/commit/64dc5d0f286fb40d09b06984419333b8db2f4a2d
fix Issue 12316 - AA.get broken for Object VAL types

More better fix for the issue 7757.

https://github.com/D-Programming-Language/dmd/commit/7d19a26a579b8c700d8bb59a1e9c63a6d56aad53
Merge pull request #3369 from 9rnsr/fix12316

[REG2.066a] Issue 12316 - AA.get broken for Object VAL types

-- 
Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Mar 23 2014
prev sibling parent d-bugmail puremagic.com writes:
https://d.puremagic.com/issues/show_bug.cgi?id=12316


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

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


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