Fix "operator modifier required" errors in project

This commit is contained in:
Yan Zhulanow
2015-11-24 18:15:08 +03:00
parent 46ac3571d5
commit 87799e9b6b
18 changed files with 25 additions and 25 deletions
@@ -51,7 +51,7 @@ public class JvmDependenciesIndex(_roots: List<JavaRoot>) {
private class Cache {
private val innerPackageCaches = HashMap<String, Cache>()
fun get(name: String) = innerPackageCaches.getOrPut(name) { Cache() }
operator fun get(name: String) = innerPackageCaches.getOrPut(name) { Cache() }
// indices of roots that are known to contain this package
// if this list contains [1, 3, 5] then roots with indices 1, 3 and 5 are known to contain this package, 2 and 4 are known not to (no information about roots 6 or higher)