Removed sure() function from built-ins.
This commit is contained in:
@@ -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> {
|
||||
|
||||
@@ -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()
|
||||
}
|
||||
@@ -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();
|
||||
}
|
||||
|
||||
-4
@@ -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");
|
||||
|
||||
Reference in New Issue
Block a user