[FIR LT] Get correct startOffset value for declarations with comments
#KT-56913 Fixed #KT-56926 Fixed
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
// FILE: test.kt
|
||||
|
||||
fun box() {
|
||||
A()
|
||||
}
|
||||
|
||||
// Some comment
|
||||
class A {
|
||||
|
||||
}
|
||||
|
||||
// EXPECTATIONS JVM JVM_IR
|
||||
// test.kt:4 box
|
||||
// test.kt:8 <init>
|
||||
// test.kt:4 box
|
||||
// test.kt:5 box
|
||||
|
||||
// EXPECTATIONS JS_IR
|
||||
// test.kt:4 box
|
||||
// test.kt:8 <init>
|
||||
// test.kt:5 box
|
||||
Reference in New Issue
Block a user