https://kotlinlang.org logo
#compiler
Title
# compiler
m

mattinger

03/09/2023, 2:23 PM
Does anyone know if a typealias is a compiler only construct? For instance, if i have a type alias like this in a library
Copy code
typealias Event = EventV1
Does the compiler replace all uses of Event with EventV1, or is there any runtime support? I’m basically looking at whether changing a typealias is an ABI breaking change.
d

dmitriy.novozhilov

03/09/2023, 2:25 PM
Typealiases not affect ABI
6 Views