phobos/std/boxer.d 422:
- Box box(TypeInfo info, void* data)
+ Box box(in TypeInfo info, in void* data)
I know that std.boxer is scheduled for execution, but it's the only way to create a variant from TypeInfo, void* in phobos.
Comment #1 by dhasenan — 2009-04-17T09:57:38Z
This would require that TypeInfo's methods be marked const.
Comment #2 by andrei — 2011-01-08T16:15:39Z
Sorry... D1 only.
Comment #3 by clugdbug — 2011-02-14T05:17:38Z
This makes no sense: a bug that applies only to D1, that involves a D2 feature...