Removing unneeded "public override val" from constructors across the project
#KT-4295 Fixed
This commit is contained in:
@@ -66,9 +66,9 @@ class GenerateProgressions(out: PrintWriter) : BuiltInsSourceGenerator(out) {
|
||||
|
||||
out.println(
|
||||
"""public class $progression(
|
||||
public override val start: $t,
|
||||
public override val end: $t,
|
||||
public override val increment: $incrementType
|
||||
override val start: $t,
|
||||
override val end: $t,
|
||||
override val increment: $incrementType
|
||||
) : Progression<$t> {
|
||||
{
|
||||
$constructor
|
||||
|
||||
@@ -63,7 +63,7 @@ class GenerateRanges(out: PrintWriter) : BuiltInsSourceGenerator(out) {
|
||||
}
|
||||
|
||||
out.println(
|
||||
"""public class $range(public override val start: $t, public override val end: $t) : Range<$t>, Progression<$t> {
|
||||
"""public class $range(override val start: $t, override val end: $t) : Range<$t>, Progression<$t> {
|
||||
override val increment: $incrementType
|
||||
get() = $increment
|
||||
|
||||
|
||||
Reference in New Issue
Block a user