[cinterop][wasm][stub-gen] help inference to resolve which plus to use

This commit is contained in:
Vasily Levchenko
2020-03-30 14:33:18 +02:00
parent 6189ee5de5
commit cc69f11e0d
@@ -215,7 +215,7 @@ val Operation.wasmTypedReturnMapping get() = returnType.wasmTypedReturnMapping()
val Attribute.wasmTypedReturnMapping get() = type.wasmTypedReturnMapping()
fun List<Arg>.wasmTypedMapping()
fun List<Arg>.wasmTypedMapping():List<String>
= this.map(Arg::wasmTypedMapping)
// TODO: more complex return types, such as returning a pair of Ints