Closed aspeddro closed 1 year ago
let f = x => switch x { | (lazy (), _,) => 0 }
(source_file [0, 0] - [4, 0] (let_declaration [0, 0] - [3, 3] (let_binding [0, 4] - [3, 3] pattern: (value_identifier [0, 4] - [0, 5]) body: (function [0, 8] - [3, 3] parameter: (value_identifier [0, 8] - [0, 9]) body: (switch_expression [1, 2] - [3, 3] (value_identifier [1, 9] - [1, 10]) (switch_match [2, 2] - [2, 22] pattern: (tuple_pattern [2, 4] - [2, 17] (tuple_item_pattern [2, 5] - [2, 12] (lazy_pattern [2, 5] - [2, 12] (parenthesized_pattern [2, 10] - [2, 12] (value_identifier [2, 11] - [2, 11])))) (tuple_item_pattern [2, 14] - [2, 15] (value_identifier [2, 14] - [2, 15]))) body: (sequence_expression [2, 21] - [2, 22] (expression_statement [2, 21] - [2, 22] (number [2, 21] - [2, 22]))))))))) /home/pedro/Desktop/test-filetypes/rescript/lazy.res 0 ms (MISSING "unpack" [2, 11] - [2, 11])