You may put anything in the message, for instance the value of the arguments:
    
    
    import strformat
    
    let a = 1
    let b = 2
    
    assert a == b, &"Expected {b}, got {a}"
    
    Run

Of course, displaying the arguments by default would be an improvement but, 
most of the time, only the user knows what is the relevant information to 
display.

Reply via email to