Skip to content

Conversation

@gsps
Copy link
Contributor

@gsps gsps commented Jan 18, 2022

This PR improves upon the existing AllocatorMono example by a) adding a variant AllocatorMonoAbstract that abstracts the implementation and simply gives a model of an allocator that could feasibly be used in client code, and b) AllocatorPolyAbstract, a generic variant of the allocator.

To achieve the latter, type parameters on classes and functions upper-bounded by AnyHeapRef are now erased during EffectElaboration.

Drive-by fixes of several bugs in EffectElaboration.

@vkuncak
Copy link
Collaborator

vkuncak commented Jan 20, 2022

@gsps it is more likely to get merged if it targets main branch

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.

3 participants