WIP: Add indentation queries for multi-value 'select'
Some checks failed
ci/woodpecker/push/check Pipeline failed

FIXME: add insertion tests for both cases...
This commit is contained in:
Bruno BELANYI 2024-04-23 16:36:11 +00:00
parent 6b2ecc78ac
commit 06b56a07b0
3 changed files with 50 additions and 0 deletions

View file

@ -26,3 +26,35 @@ foo = select(
default: 0,
}
)
foo = select((
arch(),
os(),
), {
(default, default): [],
})
foo = select(
(arch(), os()),
{
(default, default): [],
}
)
// We're really getting into more and more unlikely choices here...
foo = select(
(
arch(),
os(),
),
{
(default, default): [],
}
)
foo = select((arch(), os()), {
(
default,
default,
): [],
})