Skip to content

[bug] oprint does not work with arity 1 when it is also a tuple #1600

@bobzhang

Description

@bobzhang

a.ml

let f = fun [@bs] x -> let a,b = x in a + b
bsc.exe -i a.ml 
val f : int -> int -> int [@bs] 

This should be

val f : int * int -> int [@bs] 

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions