I have a file with a lot of functions witch all ha...
# announcements
e
I have a file with a lot of functions witch all have the same name and only the amount of arguments and the return type changes, every time I start to type the name of the function outside of the file, Intelij freezes almost immediately. Changing the name of the functions to contain the amount of arguments does not change anything. Does anyone know what the issue is and how I can fix this.
p
I had similar last early December and related to when using a map with inner lambdas. i.e. with the signature.
Copy code
MutableMap<Int, (x: Int, y: Int, z: Int) -> Pair<Int, Int>>
It was resolved after updating Kotlin to 1.4.21+
e
I'm using 1.4.30
p
You should file a bug then Intellij should be generating thread dumps automatically due to detecting a possible deadlock, so generating a log bungle should be possible that captures the problem
e
it does not generate one though
And it would be stupid to create a dump from the task manager bc as far as I know that may contain tokens, right? (github token etc.)
a
It's probably not about deadlocks, but about type inference, so it should be fixed in the compiler. Please create an issue at http://kotl.in/issue with a sample project to reproduce.