Thread overview | |||||
---|---|---|---|---|---|
|
April 17, 2014 [Issue 12403] [AA] Associative array `get` function rejects some cases | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=12403 Kenji Hara <k.hara.pg@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |pull Component|druntime |DMD --- Comment #3 from Kenji Hara <k.hara.pg@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 -- |
April 18, 2014 [Issue 12403] [AA] Associative array `get` function rejects some cases | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=12403 github-bugzilla@puremagic.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED -- |
April 18, 2014 [Issue 12403] [AA] Associative array `get` function rejects some cases | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=12403 --- Comment #4 from github-bugzilla@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 -- |
Copyright © 1999-2021 by the D Language Foundation