Skip to content

Commit 603b5ac

Browse files
committed
Remove ws errors
1 parent b7f36e8 commit 603b5ac

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
@@ -3482,7 +3482,7 @@ def test_match_record_spread(self) -> None:
34823482
self.assertEqual(
34833483
self._run(
34843484
"""
3485-
f {x = 4, y = 5}
3485+
f {x = 4, y = 5}
34863486
. f =
34873487
| {} -> 0
34883488
| {x = a, ...} -> a
@@ -4418,7 +4418,7 @@ def int_as_str(obj: Object) -> String:
44184418
| {type = "Var", name = name} -> name
44194419
| {type = "Binop", op = op, left = left, right = right} -> (compile left) ++ op ++ (compile right)
44204420
| {type = "List", items = items} -> "[" ++ (join ", " (map compile items)) ++ "]"
4421-
| {type = "Assign", name = name, value = value} -> "((" ++ name ++ ") =>" ++ (compile value) ++ ")("
4421+
| {type = "Assign", name = name, value = value} -> "((" ++ name ++ ") =>" ++ (compile value) ++ ")("
44224422
| {type = "Where", binding={type="Assign", name=name, value=value}, body=body} ->
44234423
"(" ++ (compile name) ++ " => " ++ (compile body) ++ ")(" ++ (compile value) ++ ")"
44244424
@@ -4459,7 +4459,7 @@ def int_as_str(obj: Object) -> String:
44594459
| n ->
44604460
| [] -> []
44614461
| [x, ...xs] -> x >+ take (n - 1) xs
4462-
4462+
44634463
. all = f ->
44644464
| [] -> #true
44654465
| [x, ...xs] -> f x && all f xs

0 commit comments

Comments
 (0)