Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove erroneous reference to the base
Symbol
when mapping Rust typ…
…es (#1439) `.addReference(this)` adds a reference to the `Symbol` on which `.mapRustType` was called. This is correct only when `f` is a function that _wraps_ its input `RustType`; for example, when `f` wraps it in a `Box` or constructs a `Vec`. However, the code is incorrect for an arbitrary `f`; for example, when `f` _swaps_ the type.
- Loading branch information