Skip to content

Commit

Permalink
JS: highlight semantic keywords having annotator errors
Browse files Browse the repository at this point in the history
  • Loading branch information
ulitink committed Jun 22, 2016
1 parent 307feca commit 2853334
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Expand Up @@ -3,7 +3,7 @@ public class <info descr="class">SemanticHighlighting</info> {

private function <info descr="instance method">foo</info>():void {
if (<info descr="class">Math</info>.<info descr="static method">random</info>() > 0.5) {
<info descr="null">goto</info> <info descr="label">myLabel</info>;
<symbolName descr="null">goto</symbolName> <info descr="label">myLabel</info>;
}
else {
<info descr="label">myLabel</info>:
Expand Down
Expand Up @@ -2424,7 +2424,7 @@ public void testArgumentsInParenthesis() throws Exception {
defaultTest(); // IDEA-153275
}

@JSTestOptions(JSTestOption.WithLineMarkers)
@JSTestOptions({JSTestOption.WithLineMarkers, JSTestOption.WithSemanticKeywords})
public void testSemanticHighlighting() throws Exception {
defaultTest(); // IDEA-110040
}
Expand Down

0 comments on commit 2853334

Please sign in to comment.