a.unsafeAddr is not what you want here, instead: 
    
    
    cast[pointer](a) == cast[pointer](b)
    
    
    Run

Reply via email to