JetExceptionFilter handles correctly the case of several files with the same name

Extract the logic to DebuggerUtils.findSourceFileForClass()

This fixes navigation from stack trace to a file, when there's more than one
file with this name in this package in the project
This commit is contained in:
Alexander Udalov
2012-10-24 16:07:50 +04:00
parent 880852861c
commit f42478f82f
5 changed files with 109 additions and 29 deletions
@@ -0,0 +1,6 @@
package multiSameName
fun foo() {
val f = { null!! }
f()
}
@@ -0,0 +1,6 @@
package multiSameName
fun foo(x: Int) {
val f = { null!! }
f()
}