Note that this error is spurious: there is no '}' in the user input, it was introduced [here](https://github.com/scala/scala/pull/2191/files#L0L52).