Closed
Description
Minimized code
class C(open: Int)
Output
[error] 1 |class C(open: Int)
[error] | ^
[error] | values cannot be open
Expectation
I know that open
is a soft modifier
open is a soft modifier. It is treated as a normal identifier unless it is in modifier position.
But should it be treated as a normal identifier in this case?