-
Notifications
You must be signed in to change notification settings - Fork 45
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix clone and drop implementations for enums, structs and snapshots (#…
…815) * Fix snapshot clones. Extract if statement from function for better readability. * Fix broken MLIR bug. * Fix snapshot dropping. * Implement clone and drop for structs. * Fix stuff. * Implement enum custom snapshot_take. * Fix stuff. * free array * Fix stuff. * Fix stuff. * Fix stuff. * Fix compile error. * Fix more leaks. * Fix bug. * Fix stuff. * Fix stuff. * Fix infinite recursion when registering composite types' clone implementations. * Add some debug prints. * Debug. * Undo debug. * Rename `SnapshotClonesMeta` to `DupOverrideMeta`. * Completely refactor value duplication logic. * Add some documentation on `DupOverridesMeta`. * Completely refactor value dropping logic. * Remove commented code. * Update docs. * Update unwrap comments. * Add note to `Option<_>` in FFI interface. * Fix `array_get` memory leak. Fix bug in nullables. * Fix stuff. * Fix clippy issues. --------- Co-authored-by: Edgar Luque <[email protected]>
- Loading branch information
1 parent
1b8656c
commit 79a8dcf
Showing
23 changed files
with
1,693 additions
and
815 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.