File tree Expand file tree Collapse file tree 2 files changed +10
-0
lines changed Expand file tree Collapse file tree 2 files changed +10
-0
lines changed Original file line number Diff line number Diff line change 6464 <toc-element topic =" context-parameters.md" />
6565 <toc-element topic =" inline-functions.md" />
6666 <toc-element topic =" operator-overloading.md" />
67+ <toc-element topic =" unused-return-value-checker.md" />
6768 </toc-element >
6869 <toc-element toc-title =" Classes and interfaces" >
6970 <toc-element topic =" classes.md" />
Original file line number Diff line number Diff line change @@ -236,6 +236,15 @@ Allows using the `returnsNotNull()` function in contracts to assume a non-null r
236236
237237Allows using the ` holdsIn ` keyword in contracts to assume that a boolean condition is ` true ` inside a lambda.
238238
239+ ### -Xreturn-value-checker
240+ <primary-label ref =" experimental-general " />
241+
242+ Configure how the compiler [ reports ignored results] ( unused-return-value-checker.md ) :
243+
244+ * ` disable ` : disables the unused return value checker. (Default)
245+ * ` check ` : enables the checker, and reports warnings for ignored results from marked functions.
246+ * ` full ` : enables the checker, treats all functions in your project as marked, and reports warnings for ignored results.
247+
239248### -Xcompiler-plugin-order={plugin.before>plugin.after}
240249
241250Configure the running order of compiler plugins. The compiler runs ` plugin.before ` first, and then ` plugin.after ` :
You can’t perform that action at this time.
0 commit comments