Add @file:Suppress("UNUSED_EXPRESSION") to generated interop stubs
This commit is contained in:
committed by
SvyatoslavScherbina
parent
6eb0ceb572
commit
6af710028c
+1
@@ -1160,6 +1160,7 @@ class StubGenerator(
|
||||
* Produces to [out] the contents of file with Kotlin bindings.
|
||||
*/
|
||||
fun generateKotlinFile() {
|
||||
out("@file:Suppress(\"UNUSED_EXPRESSION\")")
|
||||
if (pkgName != "") {
|
||||
out("package $pkgName")
|
||||
out("")
|
||||
|
||||
Reference in New Issue
Block a user