Skip to content

Instantly share code, notes, and snippets.

@lizmat
Created January 10, 2023 11:53
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save lizmat/e58cbfcd9a37e5d20efbf8e0451203ff to your computer and use it in GitHub Desktop.
Save lizmat/e58cbfcd9a37e5d20efbf8e0451203ff to your computer and use it in GitHub Desktop.
Small diff, strange errors
% git diff src
diff --git a/src/core.c/RakuAST/Deparse.pm6 b/src/core.c/RakuAST/Deparse.pm6
index 82abc1327..ac3bb8538 100644
--- a/src/core.c/RakuAST/Deparse.pm6
+++ b/src/core.c/RakuAST/Deparse.pm6
@@ -197,7 +197,7 @@ class RakuAST::Deparse {
}
method !simple-repeat($self: $ast, str $type --> Str:D) {
- "repeat $self.deparse($ast.body).chomp() $type $self.deparse($ast.condition)"
+ "repeat $self.deparse($ast.body).chomp() $type $self.deparse($ast.condition);\n"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment