Minor. Moved Pair class lower.
This commit is contained in:
@@ -1,7 +1,5 @@
|
|||||||
package testData.libraries
|
package testData.libraries
|
||||||
|
|
||||||
public class Pair<A, B>(val first: A, val second: B)
|
|
||||||
|
|
||||||
public trait SimpleTrait {
|
public trait SimpleTrait {
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -81,6 +79,8 @@ get() {
|
|||||||
return this
|
return this
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public class Pair<A, B>(val first: A, val second: B)
|
||||||
|
|
||||||
public val <T> Pair<T, T>.exProp : String
|
public val <T> Pair<T, T>.exProp : String
|
||||||
get() {
|
get() {
|
||||||
return "${this.first} : ${this.second}"
|
return "${this.first} : ${this.second}"
|
||||||
|
|||||||
@@ -17,4 +17,6 @@ fun foo() {
|
|||||||
// return this
|
// return this
|
||||||
//}
|
//}
|
||||||
//
|
//
|
||||||
|
//public class Pair<A, B>(val first: A, val second: B)
|
||||||
|
//
|
||||||
//public val <T> Pair<T, T>.<2>exProp : String
|
//public val <T> Pair<T, T>.<2>exProp : String
|
||||||
Reference in New Issue
Block a user