-
-
Notifications
You must be signed in to change notification settings - Fork 57
Closed
Description
Input
type user = { name : string [@mel.as "MyName"] }
let user = { name = "Corentin" }
type user2 = User of { name : string [@mel.as "MyName"] }
let user2 = User { name = "Corentin" }
Output
// Generated by Melange
var user = {
MyName: "Corentin"
};
var user2 = /* User */{
name: "Corentin"
};
export {
user ,
user2 ,
}
/* No side effect */
Expected:
var user2 = /* User */{
MyName: "Corentin"
};
cc @tatchi
Metadata
Metadata
Assignees
Labels
No labels