https://d.puremagic.com/issues/show_bug.cgi?id=12220
Kenji Hara <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Depends on| |12290 Summary|Regression (2.065 |[REG2.066a] hash.get() does |git-head): hash.get() does |not accept proper |not accept proper |parameters |parameters | --- Comment #2 from Kenji Hara <[email protected]> 2014-03-03 01:11:41 PST --- This is git-head only issue (does not exist in 2.065 release). The UFCS 'get' function in object module should have following signature: inout(V) get(K, V)(inout(V[K]) aa, K key, lazy V defaultValue) { auto p = key in aa; return p ? *p : defaultValue; } But current IFTI does not consider the narrowing conversion from (1) to short during type parameters deduction. I think that enhancement 12290 is the best way to fix issue. -- Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
