Files
codeql/java/ql/test/kotlin/library-tests/extensions/methods.expected
Chris Smowton 37543e7a86 Switch to expanding property initializers and init blocks in-place
Pros:
* <obinit> no longer emitted: one less function per class
* Parameters to the primary constructor, if any, are no longer referred to out of scope
* Simple primary constructor `val` and `var` declarations work as expected

Cons:
* If there are multiple secondary constructors, no primary constructor and long init blocks, there could be considerable duplicate extraction of those init blocks. Hopefully this case is very rare.
2022-05-10 19:51:20 +01:00

9 lines
570 B
Plaintext

| extensions.kt:3:5:3:28 | someClassMethod | file://:0:0:0:0 | void |
| extensions.kt:6:5:6:31 | anotherClassMethod | file://:0:0:0:0 | void |
| extensions.kt:9:1:9:26 | someFun | file://:0:0:0:0 | void |
| extensions.kt:10:1:10:32 | anotherFun | file://:0:0:0:0 | void |
| extensions.kt:12:1:12:26 | bothFun | file://:0:0:0:0 | void |
| extensions.kt:13:1:13:29 | bothFun | file://:0:0:0:0 | void |
| extensions.kt:15:1:15:50 | bothFunDiffTypes | file://:0:0:0:0 | int |
| extensions.kt:16:1:16:60 | bothFunDiffTypes | file://<external>/String.class:0:0:0:0 | String |