Fixed 'sout' before a function invocation.
#KT-1315 fixed
This commit is contained in:
@@ -136,6 +136,10 @@ public abstract class JetTemplateContextType extends TemplateContextType {
|
||||
if (parent instanceof JetSimpleNameExpression) {
|
||||
parent = parent.getParent();
|
||||
}
|
||||
if (parent instanceof JetBinaryExpression) {
|
||||
// Example: sout<caret> foo()
|
||||
parent = parent.getParent();
|
||||
}
|
||||
return parent instanceof JetBlockExpression;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user