Expander skips ternary operator
Created by: r3m0t
Like #257 (closed).
macro @ {
case infix { $val:expr | _ $x:ident (.) ... } => {
return #{$val}
}
}
var x = ( y[i]@a.b.c.d[0] + y[i]); // works
//var x2 = a?b:( y[i]@a.b.c.d[0] + y[i]); //broken
Created by: r3m0t
Like #257 (closed).
macro @ {
case infix { $val:expr | _ $x:ident (.) ... } => {
return #{$val}
}
}
var x = ( y[i]@a.b.c.d[0] + y[i]); // works
//var x2 = a?b:( y[i]@a.b.c.d[0] + y[i]); //broken