Incorrect precedence between switch and multiplication
Sjord opened this issue · comments
var b = 2 * a switch
{
1 => 1,
_ => 0,
};
Expected: 2 * (a switch ...)
Actual: (2 * a) switch ...
C# Grammar for tree-sitter
Sjord opened this issue · comments
var b = 2 * a switch
{
1 => 1,
_ => 0,
};
Expected: 2 * (a switch ...)
Actual: (2 * a) switch ...