Open leeavital opened 10 years ago
In the following code, everything inside the respond function is highlighted as a string.
object Foo { @Get @Route(Array("/{:Version}/path_to")) def respond(r: Req) = { println("Hello world") } }
However, if you remove the outer object, it highlights correctly.
@Get @Route(Array("/{:Version}/path_to")) def respond(r: Req) = { println("Hello world") }
This seems to happen with classes, objects, traits, outer functions -- basically any curly-brace block.
Screenshots:
In the following code, everything inside the respond function is highlighted as a string.
However, if you remove the outer object, it highlights correctly.
This seems to happen with classes, objects, traits, outer functions -- basically any curly-brace block.
Screenshots: