[builtins-gen] Explicit visibility for companion objects and secondary constructors

This commit is contained in:
Ilya Gorbunov
2023-09-19 14:48:16 +02:00
committed by Space Team
parent ab7c2f2196
commit d8ee74222f
13 changed files with 27 additions and 37 deletions
@@ -29,10 +29,6 @@ class WasmPrimitivesGenerator(writer: PrintWriter) : BasePrimitivesGenerator(wri
}
}
override fun CompanionObjectBuilder.modifyGeneratedCompanionObject(thisKind: PrimitiveType) {
isPublic = true
}
override fun primitiveConstants(type: PrimitiveType): List<Any> {
return when (type) {
PrimitiveType.FLOAT -> listOf(