kotlin m14 compatibility

This commit is contained in:
Vladimir Krivosheev
2015-10-16 09:24:39 +02:00
parent 0d9b61beec
commit 55697f9481
@@ -54,7 +54,7 @@ class ScopeVariablesGroup(val scope: Scope, parentContext: VariableContext, call
}
fun createAndAddScopeList(node: XCompositeNode, scopes: List<Scope>, context: VariableContext, callFrame: CallFrame?) {
val list = XValueChildrenList(scopes.size)
val list = XValueChildrenList(scopes.size())
for (scope in scopes) {
list.addTopGroup(ScopeVariablesGroup(scope, context, callFrame))
}