Closed
Description
Welcome to Scala 3.3.1-RC1-bin-SNAPSHOT-git-5262680 (20.0.1, Java OpenJDK 64-Bit Server VM).
Type in expressions for evaluation. Or try :help.
scala> final val x = 42
-- [E088] Syntax Error: ------------------------------------------------------------------------------------------------
1 |final val x = 42
| ^^^
| Expected start of definition
|
| longer explanation available when compiling with `-explain`
Expectation
That seems like a natural thing to do in the REPL.