mirror of
https://github.com/roc-lang/roc.git
synced 2025-08-04 04:08:19 +00:00
Merge branch 'main' into auto-snake-case
This commit is contained in:
commit
cd0e2a4474
24 changed files with 95 additions and 51 deletions
|
@ -1,3 +1,3 @@
|
|||
\I { p ? Y
|
||||
\I { p ?? Y
|
||||
Y } [] ->
|
||||
K # (
|
|
@ -1,5 +1,5 @@
|
|||
O
|
||||
{ p ? if
|
||||
{ p ?? if
|
||||
a
|
||||
then
|
||||
A
|
||||
|
|
|
@ -1 +1 @@
|
|||
module { x, y ? 0 } -> [menu]
|
||||
module { x, y ?? 0 } -> [menu]
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
{
|
||||
l?
|
||||
l??
|
||||
"""
|
||||
""",
|
||||
}
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
{
|
||||
i? p,
|
||||
i?? p,
|
||||
}
|
|
@ -1,2 +1,2 @@
|
|||
{ i ? Y } = p
|
||||
{ i ?? Y } = p
|
||||
Q
|
|
@ -1,5 +1,5 @@
|
|||
0 : {
|
||||
i
|
||||
? d,
|
||||
?? d,
|
||||
}
|
||||
O
|
|
@ -1,4 +1,4 @@
|
|||
{ e ? f
|
||||
{ e ?? f
|
||||
4 } = f
|
||||
e
|
||||
r
|
|
@ -1,8 +1,8 @@
|
|||
M
|
||||
{ s ? s
|
||||
{ s ?? s
|
||||
{ J &
|
||||
} }
|
||||
{ s ? s
|
||||
{ s ?? s
|
||||
{ J &
|
||||
} } : p
|
||||
y
|
|
@ -2497,13 +2497,13 @@ mod test_fmt {
|
|||
expr_formats_to(
|
||||
indoc!(
|
||||
r"
|
||||
f : { a ?Str }
|
||||
f : { a ??Str }
|
||||
|
||||
f"
|
||||
),
|
||||
indoc!(
|
||||
r"
|
||||
f : { a ? Str }
|
||||
f : { a ?? Str }
|
||||
|
||||
f"
|
||||
),
|
||||
|
@ -2513,7 +2513,7 @@ mod test_fmt {
|
|||
indoc!(
|
||||
r"
|
||||
f : {
|
||||
a ?Str,
|
||||
a ??Str,
|
||||
}
|
||||
|
||||
f"
|
||||
|
@ -2521,7 +2521,7 @@ mod test_fmt {
|
|||
indoc!(
|
||||
r"
|
||||
f : {
|
||||
a ? Str,
|
||||
a ?? Str,
|
||||
}
|
||||
|
||||
f"
|
||||
|
@ -2743,7 +2743,7 @@ mod test_fmt {
|
|||
r"
|
||||
f :
|
||||
{
|
||||
someField ? Int * # comment 1
|
||||
someField ?? Int * # comment 1
|
||||
,
|
||||
# comment 2
|
||||
}
|
||||
|
@ -2753,7 +2753,7 @@ mod test_fmt {
|
|||
indoc!(
|
||||
r"
|
||||
f : {
|
||||
some_field ? Int *, # comment 1
|
||||
some_field ?? Int *, # comment 1
|
||||
# comment 2
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue