-
Notifications
You must be signed in to change notification settings - Fork 430
Closed
Labels
Printerthings that have to do with turning an AST into Reason codethings that have to do with turning an AST into Reason code
Description
Input
type s = { a: int, someInstanceVar: ref(int) };
let s = { a: 111, someInstanceVar: ref(222) };Expected
type s = {
a: int,
someInstanceVar: ref(int),
};
let s = {
a: 111,
someInstanceVar: ref(222),
};Actual
type s = {
a: int,
someInstanceVar: ref(int),
};
let s = {a: 111, someInstanceVar: ref(222)};Workaround
type s = {
a: int,
someInstanceVar: ref(int),
};
let s = {
/* please don't contract this */
a: 111,
someInstanceVar: ref(222),
};Is this intended? It felt wrong to have to add comments to force the expansion of the value record.
Metadata
Metadata
Assignees
Labels
Printerthings that have to do with turning an AST into Reason codethings that have to do with turning an AST into Reason code