Skip to content

Suppress spurious warnings generated for do-body statements

Apoorv Ingle requested to merge wip/T8671 into master

Fixes #8671

The fix is to check not only non-unit types but also non-empty types while generating the warning about discarding values in do blocks.

Edited by Apoorv Ingle

Merge request reports