diff --git a/compiler/mir/mirconstr.nim b/compiler/mir/mirconstr.nim index 6e16bf00a53..672b17c9f35 100644 --- a/compiler/mir/mirconstr.nim +++ b/compiler/mir/mirconstr.nim @@ -255,6 +255,9 @@ func name*(s: var MirNodeSeq, val: EValue) = s.add MirNode(kind: mnkName, typ: val.typ) func voidOut*(s: var MirNodeSeq, val: EValue) = + ## Ends the input MIR expression as a void-expression (i.e., the + ## computed result of the expression is discarded). Corresponds + ## to ``mnkVoid``. s.add MirNode(kind: mnkVoid) # special operators: