Fix regression for splat.

This commit is contained in:
Christoffer Lerno
2024-09-10 00:21:01 +02:00
parent f67147a405
commit b22bd459dd
3 changed files with 60 additions and 127 deletions

View File

@@ -0,0 +1,12 @@
macro @foo(..., bool a = true, bool b = false)
{
return @foo2((void*)null, $vasplat, a: a, b: b);
}
macro @foo2(x, ..., bool a = true, bool b = false)
{ }
fn void main()
{
@foo(1, 2, 3, 4, a: true, b: false);
}