gencodec icon indicating copy to clipboard operation
gencodec copied to clipboard

feat: support aliased types in overrides

Open ARR4N opened this issue 10 months ago • 0 comments

When overriding an aliased type for which conversion is required, the eventual calls to underlying() via checkConvertible() used to return nil. This change resolves the alias inside the underlying() loop, resulting in the true underlying T.

I appreciate that the scenario in the test may seem contrived, but it's representative of a scenario I encountered during a refactor via type aliases.

ARR4N avatar Mar 13 '25 17:03 ARR4N