λ> parseModule "f(x)" "src"
Right (JSAstModule [JSModuleStatementListItem (JSMethodCall (JSIdentifier (JSAnnot (TokenPn 0 1 1) []) "f") (JSAnnot (TokenPn 1 1 2) []) (JSLOne (JSIdentifier (JSAnnot (TokenPn 2 1 3) []) "x")) (JSAnnot (TokenPn 3 1 4) []) JSSemiAuto)] (JSAnnot (TokenPn 0 0 0) []))
λ> parseModule "f(x,)" "src"
Left "RightParenToken {tokenSpan = TokenPn 4 1 5, tokenComment = []}"