Animesh Sahu
01/25/2021, 11:54 AMString.trimIndent()
was a runtime function, but according to the the latest safari video up at 2:00 he says its compile time transformation, but then I tried to use it in a const val
then it says Const 'val' initializer should be a constant value
is it evaluated at run-time or at compile-time just not able to fit into const val
(maybe because compiler can't figure it out easily)?Animesh Sahu
01/25/2021, 12:02 PMconst val
(s)Marc Knaup
01/25/2021, 12:35 PM