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 8f6c2bf commit b7022d0Copy full SHA for b7022d0
docs/docs/reference/metaprogramming/inline.md
@@ -374,7 +374,7 @@ inline def toIntT[N <: Nat] <: Int = inline scala.compiletime.erasedValue[N] mat
374
case _: Succ[n] => toIntT[n] + 1
375
}
376
377
-val two = toIntT[Succ[Succ[Zero.type]]]
+final val two = toIntT[Succ[Succ[Zero.type]]]
378
```
379
380
`erasedValue` is an `erased` method so it cannot be used and has no runtime
0 commit comments