Removed sure() function from built-ins.

This commit is contained in:
Evgeny Gerashchenko
2012-09-17 14:28:21 +04:00
parent 572b58012c
commit c6a040a380
9 changed files with 0 additions and 22 deletions
-2
View File
@@ -16,8 +16,6 @@ public fun Any?.equals(other : Any?) : Boolean// = this === other
// Returns "null" for null
public fun Any?.toString() : String// = this === other
public fun <T : Any> T?.sure() : T
public fun String?.plus(other: Any?) : String
public trait Comparable<in T> {
-1
View File
@@ -1466,6 +1466,5 @@ public final fun </*0*/ T : jet.Any?>jet.Iterator<T>.iterator(): jet.Iterator<T>
public final fun jet.LongIterator.iterator(): jet.LongIterator
public final fun jet.ShortIterator.iterator(): jet.ShortIterator
public final fun jet.String?.plus(/*0*/ other: jet.Any?): jet.String
public final fun </*0*/ T : jet.Any>T?.sure(): T
public final fun </*0*/ R : jet.Any?>synchronized(/*0*/ lock: jet.Any, /*1*/ block: jet.Function0<R>): R
public final fun jet.Any?.toString(): jet.String
@@ -1378,7 +1378,6 @@ public final fun </*0*/ T : jet.Any?>jet.Iterator<T>.iterator(): jet.Iterator<T>
public final fun jet.LongIterator.iterator(): jet.LongIterator
public final fun jet.ShortIterator.iterator(): jet.ShortIterator
public final fun jet.String?.plus(/*0*/ other: jet.Any?): jet.String
public final fun </*0*/ T : jet.Any>T?.sure(): T
public final fun </*0*/ R : jet.Any?>synchronized(/*0*/ lock: jet.Any, /*1*/ block: jet.Function0<R>): R
public final fun jet.Any?.toString(): jet.String
// </namespace name="jet">
@@ -1,3 +0,0 @@
fun main(args : Array<String>) {
"".sur<caret>
}
@@ -1,3 +0,0 @@
fun main(args : Array<String>) {
"".sure()
}
-2
View File
@@ -1,2 +0,0 @@
val x = 5.<ref>sure()
//jet/Library.jet:sure
@@ -68,10 +68,6 @@ public class CompletionHandlerTest extends LightCompletionTestCase {
doTest();
}
public void testSureInsert() {
doTest();
}
public void testHigherOrderFunction() {
doTest();
}
@@ -51,10 +51,6 @@ public class StandardLibraryReferenceResolverTest extends ResolveTestCase {
doTest();
}
public void testSure() throws Exception {
doTest();
}
public void testTimes() throws Exception {
doTest();
}
@@ -105,8 +105,6 @@ public final class StandardClasses {
standardClasses.declare().forFQ("jet.IntRange").kotlinClass("NumberRange")
.methods("iterator", "contains").properties("start", "size", "end", "reversed");
standardClasses.declare().forFQ("jet.sure").kotlinFunction("sure");
standardClasses.declare().forFQ("jet.Any.toString").kotlinFunction("toString");
standardClasses.declare().forFQ("java.util.Collections.<no name provided>.max").kotlinFunction("collectionsMax");