Add indentation queries for multi-value 'select'

Unfortunately, the indentation feature is still a work in progress, so
we have some expected failures in our tests...
This commit is contained in:
Bruno BELANYI 2024-04-23 16:36:11 +00:00
parent f228904ed0
commit c5031e2c16
3 changed files with 52 additions and 1 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,
): [],
})