KT-7151 Convert 'System.out.println()' to just 'println()'
#KT-7151 Fixed
This commit is contained in:
@@ -11,7 +11,7 @@ public class Test(str: String) {
|
||||
|
||||
public fun sout(str: String) {
|
||||
// UNNECESSARY_NOT_NULL_ASSERTION heuristic does not work any more, instead we can skip generating !! altogether
|
||||
System.out!!.println(str)
|
||||
println(str)
|
||||
}
|
||||
|
||||
public fun dummy(str: String): String {
|
||||
|
||||
@@ -9,7 +9,7 @@ public class Test(str: String?) {
|
||||
}
|
||||
|
||||
public fun sout(str: String?) {
|
||||
System.out.println(str)
|
||||
println(str)
|
||||
}
|
||||
|
||||
public fun dummy(str: String?): String? {
|
||||
|
||||
Reference in New Issue
Block a user