Is there another way of writing
    
    
    var iVar = 0x0ffff0000.int
    

just (with a suffix or so) like
    
    
    var i32var = 0x0ffff0000i32
    

Fiddling with bit set variables from data protocols it would be nice to write 
something like
    
    
    iVar == 0x0ffff0000
    

which bails out because the rhs becomes an int64 rather than an int. I could use
    
    
    iVar == 0x0ffff0000i32
    

but this would be extended to 0xffffffff'ffff0000 when
    
    
    int.sizeof == int64.sizeof
    

Any thoughts?

Reply via email to