Ayla
11/10/2023, 6:05 PM@ToBeProcessed
value class Wrap(val int:Int)
fun main(){
val wrap=Wrap.GenerateFunInterface{ /*code*/ }
}
the compiler reported an error " `Interface 'fun interface ***' does not have constructors.`"
It seems the use of the generated fun interface is not transformed by SAM conversion, so is there some config or extension I can use to resolve this code error?
Any help would be appreciated.FirSam ConversionTransformerExtension
, so it has not been processed.dmitriy.novozhilov
11/14/2023, 8:17 AM