https://issues.dlang.org/show_bug.cgi?id=17108

[email protected] changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]

--- Comment #1 from [email protected] ---
Hmph. This is caused by the last line in object.byKeyValue()():

----
/usr/src/d/druntime/import/object.d(2071): Error: cast from int[string] to
void* not allowed in safe code
test.d(4): Error: template instance object.byKeyValue!(int[string], string,
int) error instantiating
----

Could this be a regression?  I vaguely recall casting to void* used to be
allowed, you just can't dereference it unless you're in @trusted land.

--

Reply via email to