GreatSyntacticShift: 'namespace' -> 'package'
This commit is contained in:
@@ -1,3 +1,3 @@
|
||||
namespace test
|
||||
package test
|
||||
|
||||
class Ramification
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
namespace test
|
||||
package test
|
||||
|
||||
class Wine<in T>
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
namespace test
|
||||
package test
|
||||
|
||||
class Juice<in T>
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
namespace test
|
||||
package test
|
||||
|
||||
class Beer<T>
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
namespace test
|
||||
package test
|
||||
|
||||
class Clock<A : java.lang.Number>
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
namespace test
|
||||
package test
|
||||
|
||||
class Clock<A> where A : java.lang.Number, A : java.lang.CharSequence
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
namespace test
|
||||
package test
|
||||
|
||||
class Clock<A : java.lang.CharSequence>
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
namespace test
|
||||
package test
|
||||
|
||||
class Clock<A> where A : java.lang.CharSequence, A : java.lang.Number
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
namespace test
|
||||
package test
|
||||
|
||||
trait Trtrtr
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
namespace test
|
||||
package test
|
||||
|
||||
class River {
|
||||
fun song() = 1
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
namespace test
|
||||
package test
|
||||
|
||||
fun Int.shuffle() = 1
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
namespace test
|
||||
package test
|
||||
|
||||
class ExtFunInClass {
|
||||
fun Int.shuffle() = 1
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
namespace test
|
||||
package test
|
||||
|
||||
import java.util.List
|
||||
import java.lang.CharSequence
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
namespace test
|
||||
package test
|
||||
|
||||
import java.util.List
|
||||
import java.lang.CharSequence
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
namespace test
|
||||
package test
|
||||
|
||||
fun funDefaultArg(p: Int, q: Int = 17, r: Int = 18) = 19
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
namespace test
|
||||
package test
|
||||
|
||||
fun <T> f() = 1
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
namespace test
|
||||
package test
|
||||
|
||||
fun <in T> f() = 1
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
namespace test
|
||||
package test
|
||||
|
||||
fun <out T> f() = 1
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
namespace test
|
||||
package test
|
||||
|
||||
fun fff(a: java.lang.CharSequence) = 1
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
namespace test
|
||||
package test
|
||||
|
||||
fun fff(a: java.lang.CharSequence?) = 1
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
namespace test
|
||||
package test
|
||||
|
||||
fun <A : java.lang.Number> uno() = 1
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
namespace test
|
||||
package test
|
||||
|
||||
fun <A> tres() where A : java.lang.Number, A : java.lang.CharSequence = 1
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
namespace test
|
||||
package test
|
||||
|
||||
fun <A : java.lang.CharSequence> dos() = 1
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
namespace test
|
||||
package test
|
||||
|
||||
fun <A> cuatro() where A : java.lang.CharSequence, A : java.lang.Number = 1
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
namespace test
|
||||
package test
|
||||
|
||||
fun varargCharSequence(a: Int, vararg b: java.lang.CharSequence) = 1
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
namespace test
|
||||
package test
|
||||
|
||||
fun varargInt(a: Int, vararg b: Int) = 1
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
namespace test
|
||||
package test
|
||||
|
||||
abstract class ModifierAbstract {
|
||||
abstract fun abs(): Int
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
namespace test
|
||||
package test
|
||||
|
||||
open class ModifierOpen {
|
||||
open fun abs() = 1
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
namespace test
|
||||
package test
|
||||
|
||||
fun f() = 1
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
namespace test
|
||||
package test
|
||||
|
||||
import java.util.List
|
||||
import java.util.ArrayList
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
namespace test
|
||||
package test
|
||||
|
||||
import java.util.List
|
||||
import java.util.ArrayList
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
namespace test
|
||||
package test
|
||||
|
||||
fun ff(): java.lang.CharSequence = throw Exception()
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
namespace test
|
||||
package test
|
||||
|
||||
fun ff(): java.lang.CharSequence? = null
|
||||
|
||||
Reference in New Issue
Block a user