mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
IDEA-78921 Groovy 1.8: dollar slashy strings are erroneously highlighted as not allowed in Groovy 1.8.0
This commit is contained in:
@@ -852,7 +852,7 @@ public class GroovyAnnotator extends GroovyElementVisitor implements Annotator {
|
||||
final GroovyConfigUtils config = GroovyConfigUtils.getInstance();
|
||||
|
||||
if ("$/".equals(quote)) {
|
||||
if (!config.isVersionAtLeast(regex, GroovyConfigUtils.GROOVY1_9)) {
|
||||
if (!config.isVersionAtLeast(regex, GroovyConfigUtils.GROOVY1_8)) {
|
||||
myHolder
|
||||
.createErrorAnnotation(regex, GroovyBundle.message("dollar.slash.strings.are.not.allowed.in.0", config.getSDKVersion(regex)));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user