empty group repeat fails
let m = macro {
rule { { $(case ($x ...)) ... } } => {
$([$x (,) ...]) (;) ...
}
}
m {
}
Throws an:
Error: ASSERT: must have a least one non-scalar in repeat
let m = macro {
rule { { $(case ($x ...)) ... } } => {
$([$x (,) ...]) (;) ...
}
}
m {
}
Throws an:
Error: ASSERT: must have a least one non-scalar in repeat