I often see @araq write in this style:

$nimc_D/compiler/layouter.nim: [1] 
    
    
    discard "do nothing, see #9499"
    return
    
    
    Run

is there any semantic difference with: [2] 
    
    
    discard # do nothing, see #9499
    return
    
    
    Run

or even [3] 
    
    
    return # do nothing, see #9499
    
    
    Run

?

I'm thinking perhaps the former can carry over some debug info (or enable some 
hypothetical future compiler patch \--discard_debugecho that would turn the 
discard into a debugEcho, but not sure (and if that's the intent than it could 
be done for [2] just as well as [1], although not [3]).

Just curious.

Reply via email to