J2K: adapted for default visibility modifier 'public'
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
fun foo(i: Int?) {
|
||||
internal fun foo(i: Int?) {
|
||||
var i1 = i!!
|
||||
i1++
|
||||
}
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
fun foo(b: Byte) {
|
||||
internal fun foo(b: Byte) {
|
||||
var i: Int? = b.toInt()
|
||||
if (p) i = 10
|
||||
}
|
||||
@@ -1,4 +1,4 @@
|
||||
fun foo() {
|
||||
internal fun foo() {
|
||||
var i: Long = 1
|
||||
if (p) i = 10
|
||||
}
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
fun foo() {
|
||||
internal fun foo() {
|
||||
var i: Int? = 1
|
||||
if (p) i = null
|
||||
}
|
||||
@@ -1,3 +1,3 @@
|
||||
fun foo() {
|
||||
internal fun foo() {
|
||||
val o = ""
|
||||
}
|
||||
@@ -1,4 +1,4 @@
|
||||
fun foo() {
|
||||
internal fun foo() {
|
||||
var o: Any? = ""
|
||||
if (p) o = null
|
||||
}
|
||||
@@ -1,5 +1,5 @@
|
||||
class C {
|
||||
fun foo(p: Boolean): Int {
|
||||
internal class C {
|
||||
internal fun foo(p: Boolean): Int {
|
||||
var a: Int
|
||||
var b: Int
|
||||
a = 10
|
||||
|
||||
Reference in New Issue
Block a user