Skip to content

Conversation

@liboz
Copy link
Contributor

@liboz liboz commented Feb 13, 2017

This extends #1589 to Record types and is an implementation of RFC FS-1022

Still need to fix tests.

yield mkILSimpleStorageCtor(None, Some cenv.g.ilg.typ_Object.TypeSpec, ilThisTy, [], reprAccess)


if (not <| tycon.HasMember cenv.g "ToString" []) then
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We generally don't use the backpipe operator in the compiler (except xyz <| (fun a -> ...) now and then)

Copy link
Contributor

@dsyme dsyme left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Left one comment but basically this looks spot on

@dsyme
Copy link
Contributor

dsyme commented Feb 14, 2017

@liboz Please test struct records, thanks

@liboz liboz changed the title [WIP] Implement ToString on Records (RFC FS-1022) Implement ToString on Records (RFC FS-1022) Feb 14, 2017
@KevinRansom
Copy link
Contributor

Nice ...

Thank you

@abelbraaksma
Copy link
Contributor

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants