Skip to content

Map ISL's inheritance-like constructs to Scala inheritance.#7

Merged
PapyChacal merged 2 commits into
mainfrom
emilien/inheritance
Jun 24, 2025
Merged

Map ISL's inheritance-like constructs to Scala inheritance.#7
PapyChacal merged 2 commits into
mainfrom
emilien/inheritance

Conversation

@PapyChacal
Copy link
Copy Markdown
Owner

Allowing typical runtime polymorphism and type matching and all.

One issue is when the library FFI returns a pointer that we only know to correspond to a wide hierarchy we have to ensure it is wrapped in the correct Scala type for those to work as expected. Implemented through switches in the private implicit conversion here.

TODO: properly wrap the right type when wrapping a pointer.
@PapyChacal PapyChacal merged commit 586ae42 into main Jun 24, 2025
1 check passed
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.

1 participant