Having looked closely at the stack trace, I see what is happening.
You can see that the s method executes on a line that handles the replacement of $SIGN . This method encounters \d in a string and apparently tries to translate this; see call treatEscapes in the stack trace. The treatEscapes method treatEscapes not recognize \d and throws an exception.
It can be fixed by writing \\d in the string, but this defeats the whole goal of having a string with three quotes ...
Conclusion: String interpolation and triple quotes seem to be related to each other. I would say that this is a Scala bug. (Why does method s apply to screens?).
edit - It really looks like a SI-6476 error, as Travis Brown pointed out in a comment.
source share