sreich
foo() = when(blah) { Thing.Value -> { if (bar()) { true //this expression is unused } false } }