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.
|
* Produces to [out] the contents of file with Kotlin bindings.
|
||||||
*/
|
*/
|
||||||
fun generateKotlinFile() {
|
fun generateKotlinFile() {
|
||||||
|
out("@file:Suppress(\"UNUSED_EXPRESSION\")")
|
||||||
if (pkgName != "") {
|
if (pkgName != "") {
|
||||||
out("package $pkgName")
|
out("package $pkgName")
|
||||||
out("")
|
out("")
|
||||||
|
|||||||
Reference in New Issue
Block a user