Fix new warnings in project code
This commit is contained in:
+2
@@ -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
|
||||
|
||||
+1
@@ -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>()
|
||||
|
||||
Reference in New Issue
Block a user