[Issue 7070] can't assign null to Variant
    d-bugmail at puremagic.com 
    d-bugmail at puremagic.com
       
    Fri Dec  9 02:51:57 PST 2011
    
    
  
http://d.puremagic.com/issues/show_bug.cgi?id=7070
--- Comment #1 from Kenji Hara <k.hara.pg at gmail.com> 2011-12-09 02:51:56 PST ---
2.057head changes the type of null literal from void* to typeof(null).
But std.variant yet not support it.
Workaround:
import std.variant;
void main()
{
    Variant v;
    //v = null;
    v = (void*).init;
}
-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
    
    
More information about the Digitalmars-d-bugs
mailing list