Add nested tuple / irrefutable pattern test case
@@ -404,6 +404,7 @@ Function Declarations With Irrefutable Pattern
f ~a = 1
f ~(-(1)) = 1
+f ~(~(a, b), c) = c
---
@@ -423,4 +424,14 @@ f ~(-(1)) = 1
(negative_literal
(integer)))))
(function_body
- (integer))))
+ (integer)))
+ (function_declaration
+ (function_head
+ (variable_identifier)
+ (irrefutable_pattern
+ (tuple_pattern
+ (irrefutable_pattern
+ (tuple_pattern (variable_identifier) (variable_identifier)))
+ (variable_identifier))))
+ (function_body
+ (variable_identifier))))
