Skip to content

Commit 7791ab4

Browse files
committed
Remove ws errors
1 parent e551a89 commit 7791ab4

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

scrapscript.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3480,7 +3480,7 @@ def test_match_record_spread(self) -> None:
34803480
self.assertEqual(
34813481
self._run(
34823482
"""
3483-
f {x = 4, y = 5}
3483+
f {x = 4, y = 5}
34843484
. f =
34853485
| {} -> 0
34863486
| {x = a, ...} -> a
@@ -4413,7 +4413,7 @@ def int_as_str(obj: Object) -> String:
44134413
| {type = "Var", name = name} -> name
44144414
| {type = "Binop", op = op, left = left, right = right} -> (compile left) ++ op ++ (compile right)
44154415
| {type = "List", items = items} -> "[" ++ (join ", " (map compile items)) ++ "]"
4416-
| {type = "Assign", name = name, value = value} -> "((" ++ name ++ ") =>" ++ (compile value) ++ ")("
4416+
| {type = "Assign", name = name, value = value} -> "((" ++ name ++ ") =>" ++ (compile value) ++ ")("
44174417
| {type = "Where", binding={type="Assign", name=name, value=value}, body=body} ->
44184418
"(" ++ (compile name) ++ " => " ++ (compile body) ++ ")(" ++ (compile value) ++ ")"
44194419
@@ -4454,7 +4454,7 @@ def int_as_str(obj: Object) -> String:
44544454
| n ->
44554455
| [] -> []
44564456
| [x, ...xs] -> x >+ take (n - 1) xs
4457-
4457+
44584458
. all = f ->
44594459
| [] -> #true
44604460
| [x, ...xs] -> f x && all f xs

0 commit comments

Comments
 (0)