We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dfb3922 commit 922fdf8Copy full SHA for 922fdf8
tp9/src/main/kotlin/fmt/kotlin/fundamentals/Cellar.kt
@@ -25,6 +25,7 @@ data class Cellar(
25
with(Session.currentUser) {
26
when (role) {
27
OWNER -> bottles.add(bottle)
28
+ .also { println(bottle) }
29
BUYER -> throw UnauthorizedException(login)
30
}
31
0 commit comments