Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(kernel): Improve tagged type of wire values
When passing references across the JSII language boundary, the static return type of a method is used instead of the runtime type of the object if they are not the same, even if they are compatible. This causes issues that make it impossible to up-cast from methods such as `IConstruct.findChild` that return a super-class that is expected to be up-casted to it's known dynamic type. Fixes #345
- Loading branch information