Skip to content
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

Extension types #397

Closed
wants to merge 4 commits into from
Closed

Extension types #397

wants to merge 4 commits into from

Conversation

eernstg
Copy link
Member

@eernstg eernstg commented Jun 12, 2019

This PR contains an initial feature specification for extension types, fleshing out the basic framework that I have experimented with for some time.

The main points are that it ensures zero-cost abstraction in the sense that there are no wrapper objects, and extension types are integrated with other Dart types such that allows for data flows (say, an expression whose static type is an extension type E can be added to a list and pulled out again without "forgetting" E).

@eernstg eernstg closed this Mar 12, 2020
@eernstg eernstg deleted the extension_types_jun19 branch March 12, 2020 09:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants