Skip to content

Commit

Permalink
Make KString a statement again
Browse files Browse the repository at this point in the history
Partial revert of 5c0063c.
  • Loading branch information
knutwannheden committed Sep 13, 2023
1 parent bca09b6 commit f5fd04e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/main/java/org/openrewrite/kotlin/tree/K.java
Original file line number Diff line number Diff line change
Expand Up @@ -1184,7 +1184,7 @@ public String toString() {
@EqualsAndHashCode(callSuper = false, onlyExplicitlyIncluded = true)
@Data
@With
final class KString implements K, Expression {
final class KString implements K, Statement, Expression {
UUID id;
Space prefix;
Markers markers;
Expand All @@ -1210,8 +1210,8 @@ public <P> J acceptKotlin(KotlinVisitor<P> v, P p) {

@Transient
@Override
public CoordinateBuilder.Expression getCoordinates() {
return new CoordinateBuilder.Expression(this);
public CoordinateBuilder.Statement getCoordinates() {
return new CoordinateBuilder.Statement(this);
}

@FieldDefaults(makeFinal = true, level = AccessLevel.PRIVATE)
Expand Down

0 comments on commit f5fd04e

Please sign in to comment.