Should line numbers in exception backtraces corres...
# announcements
Should line numbers in exception backtraces correspond to actual linenumbers in Kotlin files? I ask because I'm getting a backtrace that doesn't seem to.
In general yes. However, this can fail if the file is being decompiled or if there is a mismatch in versions (you may accidentally load a different version in some circumstances). At least this is the case in Java. This should only happen in code loaded as dependencies, never in your own code.
also use of inline functions appends the body of the inline function to the end of the file, resulting in line #s beyond the end of the file
Unless there is a compiler plugin, the lines should match up
Ah, it'll be inline functions then.
I've got a reified inline in use.
­čĹŹ 1