Skip to content

Commit

Permalink
Merge pull request #269 from travisbrown/topic/prelude-21.2.0
Browse files Browse the repository at this point in the history
Update Prelude
  • Loading branch information
travisbrown authored Jun 3, 2021
2 parents 9ce9f43 + 1187b27 commit f11db55
Show file tree
Hide file tree
Showing 2 changed files with 2,731 additions and 2,446 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ final class ToCodeVisitor extends Visitor.NoPrepareEvents[Code] {

def onLet(bindings: JList[Expr.LetBinding[Code]], body: Code): Code = unsupported

private def escape(input: String): String = input.replace("\"", "\\\"")
private def escape(input: String): String = input.replace("\"", "\\\"").replace("\\\\", "\\\\\\\\")

def onText(parts: Array[String], interpolated: JList[Code]): Code =
if (parts.length == 1) {
Expand Down
Loading

0 comments on commit f11db55

Please sign in to comment.