Ben Dowden
01/11/2025, 5:03 PMdmitriy.novozhilov
01/13/2025, 8:49 AMfun foo() {
bar(1)
}
fun bar(x: Int) {
if (x > 1) {
annotatedBaz()
}
}
And these values make things more interesting if they are coming from outsidedmitriy.novozhilov
01/13/2025, 8:51 AMIrGenerationExtension
. It gives you access to the whole program which is being compiled and contains already resolved information. Other extension points won't suite for such a global analysis