Skip to content

New function to extract record type. #319

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

Merged
merged 3 commits into from
Nov 25, 2021
Merged

New function to extract record type. #319

merged 3 commits into from
Nov 25, 2021

Conversation

cristianoc
Copy link
Collaborator

The current function to extract record types looks for a type definition, and expect it to be a record.
The new one keeps on expanding type definitions until it finds a record. In this way, it handles type aliases.

Fixes #311

The current function to extract record types looks for a type definition, and expect it to be a record.
The new one keeps on expanding type definitions until it finds a record. In this way, it handles type aliases.

Fixes #311
@cristianoc cristianoc merged commit 5e1a22e into master Nov 25, 2021
@cristianoc cristianoc deleted the alias branch November 25, 2021 12:23
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.

Completion for a type which is an alias to some record type?
1 participant