conlang: Add Tuple-Struct Patterns
- Patterns are no longer parsed with the highest precedence - Function calls with just a path and a tuple of args can now be transformed into a Pattern
This commit is contained in:
@@ -255,8 +255,8 @@ pub enum Precedence {
|
||||
Index,
|
||||
Cast,
|
||||
Member, // left-associative
|
||||
Pattern,
|
||||
Call,
|
||||
Highest,
|
||||
}
|
||||
|
||||
impl Precedence {
|
||||
|
||||
Reference in New Issue
Block a user