Language Injection: compilation errors not annotated
Why don't compilation errors show up in string literal language injection?
E.g.
int count = 0;
@Language( "JAVA" )
String s = "class Foo{ void blah() {coun = 0;} }"; // should have error on 'coun' as unidentifed
Why isn't 'coun' annotated with an 'unidentified symbol' error? Is there a standard way to enable this?
I have a custom language injector implementation with Java and I'd like to enable compilation errors in the same way.
Thanks.
Please sign in to leave a comment.
Anyone?