miha-x64
04/17/2017, 1:28 PMconst val
or not?semoro
04/17/2017, 1:32 PMconst
inlines at use-site as Javac does (It should be done in kotlinc now, but not sure, anyway you should mark constants as const
)annyce
04/17/2017, 1:35 PMmiha-x64
04/17/2017, 1:36 PMconst
is only for annotations, and it’s a best-practice from JB to use it only there. I was quite disappointed...miha-x64
04/17/2017, 1:37 PMannyce
04/17/2017, 1:37 PMsemoro
04/17/2017, 1:39 PMconst
https://youtrack.jetbrains.com/issue/KT-11734annyce
04/17/2017, 1:43 PM