Skip to content

Commit

Permalink
Removed type error
Browse files Browse the repository at this point in the history
  • Loading branch information
PaulKlint committed Oct 8, 2024
1 parent d6f738d commit c6b8049
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import String;

public str squeeze(str src, type[&CharClass <: ![]] _) = visit(src) {
case /<c:.><c>+/ => c
when &CharClass _ := Tree::char(charAt(c, 0))
when &CharClass _ := /*Tree::*/char(charAt(c, 0))
};

// void f(int n){
Expand Down

0 comments on commit c6b8049

Please sign in to comment.