Created
January 10, 2023 11:53
-
-
Save lizmat/e58cbfcd9a37e5d20efbf8e0451203ff to your computer and use it in GitHub Desktop.
Small diff, strange errors
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
% 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