Call hierarchy doesn't work for fields for some reason in Scala

Not planned


For some reason Call hierarchy doesn't work (disabled) for fields in Scala classes - while it's working great on Java...

For Example:

class Test1 {
val field1: String = ""
val field2: String = ""

class Test2(test1: Test1) {
val field3: String = test1.field1 + test1.field2
val field4: String = ""

class Test3(test2: Test2) {
val field5: String = test2.field3 + ""


Same code on Java (Written as Java of course - but basically the same) - will show hierarchy, while in Scala the Call hierarchy is greyed out...

I am using Mac OS Monterey, IntelliJ IDEA 2022.3 (Ultimate Edition) - Build #IU-223.7571.182, built on November 29, 2022.


Should I submit a bug?




Please sign in to leave a comment.