Remove functions which could conflict with the kotlin.assert function.

This commit is contained in:
Hiram Chirino
2012-03-07 23:58:56 -05:00
parent 75dcb84c2e
commit b8dda416f3
3 changed files with 2 additions and 24 deletions
-11
View File
@@ -16,17 +16,6 @@ private fun locked<T>(lock : Lock, body : () -> T) : T {
}
}
/**
* Checks boolean value which should be true. If it is false, throws Assertion Error
*
* @param value value to be checked
*/
public fun assert(value : Boolean) {
if (!value) {
throw AssertionError()
}
}
/**
* Returns list containing all elements which first contains and second does not.
*/