Skip to content

Commit 6716c47

Browse files
committed
fix: rebasing on 2.3.0
1 parent 88f7edb commit 6716c47

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

docs/kr.tree

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,7 @@
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"/>

docs/topics/compiler-reference.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -236,6 +236,15 @@ Allows using the `returnsNotNull()` function in contracts to assume a non-null r
236236

237237
Allows 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

241250
Configure the running order of compiler plugins. The compiler runs `plugin.before` first, and then `plugin.after`:

0 commit comments

Comments
 (0)