[Issue 12403] [AA] Associative array `get` function rejects some cases

2014-04-18 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=12403

github-bugzi...@puremagic.com changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution|--- |FIXED

--


[Issue 12403] [AA] Associative array `get` function rejects some cases

2014-04-18 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=12403

--- Comment #4 from github-bugzi...@puremagic.com ---
Commits pushed to master at https://github.com/D-Programming-Language/dmd

https://github.com/D-Programming-Language/dmd/commit/8cbc11d4a398e5cd4e4ad487d2e81c607544be5b
fix Issue 12403 - [AA] Associative array `get` function rejects some cases

https://github.com/D-Programming-Language/dmd/commit/b4743e8489f633951992c8b638b5e86df9bc63d1
Merge pull request #3465 from 9rnsr/fix12403

[REG2.066a] Issue 12403 - [AA] Associative array `get` function rejects some
cases

--


[Issue 12403] [AA] Associative array `get` function rejects some cases

2014-04-16 Thread d-bugmail
https://issues.dlang.org/show_bug.cgi?id=12403

Kenji Hara k.hara...@gmail.com changed:

   What|Removed |Added

   Keywords||pull
  Component|druntime|DMD

--- Comment #3 from Kenji Hara k.hara...@gmail.com ---
This is a compiler issue that current IFTI cannot deduce correct type
parameters for the case:

void test12403()
{
void func(K, V)(inout(V[K]) aa)
{
static assert(is(V == const int));
static assert(is(K == int));
}

const(int)[int] m;
func(m);   // fails, but should work
}

https://github.com/D-Programming-Language/dmd/pull/3465

--


[Issue 12403] [AA] Associative array `get` function rejects some cases

2014-03-23 Thread d-bugmail
https://d.puremagic.com/issues/show_bug.cgi?id=12403



--- Comment #2 from Vladimir Panteleev thecybersha...@gmail.com 2014-03-23 
16:38:05 EET ---
I guess it's not related to issue 12316, because the pull that fixed it did not
fix this issue.

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


[Issue 12403] [AA] Associative array `get` function rejects some cases

2014-03-18 Thread d-bugmail
https://d.puremagic.com/issues/show_bug.cgi?id=12403


Vladimir Panteleev thecybersha...@gmail.com changed:

   What|Removed |Added

 CC||thecybersha...@gmail.com


--- Comment #1 from Vladimir Panteleev thecybersha...@gmail.com 2014-03-19 
02:21:07 EET ---
Introduced in https://github.com/D-Programming-Language/druntime/pull/733
Possibly related: Issue 12316

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