KT-4209 Make constructors of primitives private

#KT-4209 Fixed
This commit is contained in:
Andrey Breslav
2013-11-16 19:48:39 +04:00
parent 59e47a5f77
commit c0fce6becd
13 changed files with 30 additions and 15 deletions
+1 -1
View File
@@ -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