Sometimes ST seems to fail at highlighting expressions within the "${...}" string interpolation construct. For instance, this is valid Groovy code, but it throws the syntax highlighter into a panic:

I took the screenshot with the latest build (3157) and an empty ~/.config/sublime-text-3 directory.