Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

bugzilla 5399

  • Loading branch information...
commit 549bdb10978292cf38faf6b10b72fc577f54f915 1 parent ed40a46
@WalterBright WalterBright authored
Showing with 2 additions and 1 deletion.
  1. +2 −1  statement.dd
View
3  statement.dd
@@ -1141,13 +1141,14 @@ $(I ReturnStatement):
unless the function contains inline assembler code.
<p>
+$(COMMENT
$(EXPRESSION) is allowed even if the function specifies
a $(D_KEYWORD void) return type. The $(EXPRESSION) will be evaluated,
but nothing will be returned.
If the $(EXPRESSION) has no side effects, and the return
type is $(D_KEYWORD void), then it is illegal.
<p>
-
+)
Before the function actually returns,
any objects with scope storage duration are destroyed,
any enclosing finally clauses are executed,
Please sign in to comment.
Something went wrong with that request. Please try again.