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 d88a93d commit e6fa5ddCopy full SHA for e6fa5dd
src/script/scala/progscala3/hierarchy/Asserts.scala
@@ -8,5 +8,5 @@ def factorial(n: Long): Long = {
8
else n*factorial(n-1)
9
} ensuring(_ > 0, "BUG!!")
10
11
-factorial(-1)
12
factorial(5)
+factorial(-1)
0 commit comments