Fix new warnings in project code

This commit is contained in:
Dmitriy Novozhilov
2021-09-09 16:52:58 +03:00
parent 7a7672b0de
commit 70e8d23d6b
11 changed files with 20 additions and 3 deletions
@@ -222,6 +222,7 @@ class FoldConstantLowering(
return kind.valueOf(const).toUInt()
is IrConstKind.Long ->
return kind.valueOf(const).toULong()
else -> {}
}
}
return const.value
@@ -246,6 +247,7 @@ class FoldConstantLowering(
}
}
}
else -> {}
}
}
@@ -35,6 +35,7 @@ open class MutableController(val context: JsIrBackendContext, val lowerings: Lis
}
}
}
is ModuleLowering -> {}
}
}
declaration.loweredUpTo = i
@@ -151,6 +151,7 @@ class ExportModelGenerator(val context: JsIrBackendContext) {
when (val exportability = classExportability(klass)) {
is Exportability.Prohibited -> error(exportability.reason)
is Exportability.NotNeeded -> return null
Exportability.Allowed -> {}
}
val members = mutableListOf<ExportedDeclaration>()