playframework/playframework — pull request #1419 by jroper (2013-08-13 06:08:13+00:00)
Title: Scala views generate invalid code for unmatched parenthesis inside a string

Play generates invalid Scala code when using unmatched parenthesis inside a string.

For example, this: `@Messages(")")` gives the following compilation error:
`')' expected but string literal found.`
While this works: `@Messages("()")`

Apparently, this is a long-standing bug:
https://groups.google.com/forum/#!topic/play-framework/kYm8b7CqruM