Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support struct tuples #224

Closed
jindraivanek opened this issue Nov 26, 2017 · 0 comments
Closed

Support struct tuples #224

jindraivanek opened this issue Nov 26, 2017 · 0 comments

Comments

@jindraivanek
Copy link
Contributor

Struct tuples is not supported (System.Exception: Unexpected expression: Microsoft.FSharp.Compiler.Ast+SynExpr+StructTuple).

Small snippet of what we need to support:

let g : struct (int*int) = struct (1,1)
let z = fun (struct (u, v): (struct (int*int))) -> 5
let t = struct (1,2)

match t with
| struct (x,y) -> ()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant