Noir's frontend takes a match expression and turns it into a simple decision tree: "compare the value to 1, if equal run arm 1, otherwise compare to 2, and so on, else run the default." It hands that tree to Mavros.
The code that turns Noir expressions into its own SSA has a handler for every kind of expression except match. When it sees one it panics with "Expression type not yet supported".
Tests:
match_struct_pattern_field_order
regression_7323
Noir's frontend takes a match expression and turns it into a simple decision tree: "compare the value to 1, if equal run arm 1, otherwise compare to 2, and so on, else run the default." It hands that tree to Mavros.
The code that turns Noir expressions into its own SSA has a handler for every kind of expression except match. When it sees one it panics with "Expression type not yet supported".
Tests:
match_struct_pattern_field_order
regression_7323