## Compiler version 3.3.5 3.6.3 3.6.4-RC1 ## Minimized code <!-- This code should be self contained, compilable (with possible failures) and as small as possible. Ideally, we should be able to just copy this code in a file and run `scalac` (and maybe `scala`) to reproduce the issue. --> ```Scala identity( identity: class X extends AnyRef, Serializable ??? ) ``` ## Output ``` ',' or ')' expected, but identifier found ``` ## Expectation With braces, this code compiles: ```scala identity( identity { class X extends AnyRef, Serializable ??? } ) ```