KT-4209 Make constructors of primitives private
#KT-4209 Fixed
This commit is contained in:
@@ -29,7 +29,7 @@ public trait Hashable {
|
||||
public fun equals(other : Any?) : Boolean
|
||||
}
|
||||
|
||||
public class Boolean {
|
||||
public class Boolean private () {
|
||||
public fun not() : Boolean
|
||||
|
||||
public fun and(other : Boolean) : Boolean
|
||||
|
||||
Reference in New Issue
Block a user