mirror of
https://github.com/JohnEstropia/CoreStore.git
synced 2026-01-11 20:00:30 +01:00
Into<DynamicObject> cannot convert(upcast) child type to parent type #219
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @RosalieChang on GitHub (Jun 14, 2018).
I am struggling a bit with generics in Swift.
I have the following code:

XKNavBar extends from XKBaseWidget


The code in CoreStore 3.1.1 is working, but upgrading to CoreStore 4.2.3 is not.

I guess that might be related the following?
Any idea how to solve this problem?
Thanks.
@JohnEstropia commented on GitHub (Jun 15, 2018):
@RosalieChang You can set the generic type and the actual dynamic type for
IntoandFromseparately:@RosalieChang commented on GitHub (Jun 16, 2018):
Thank you very much 👍 the problem has been solved.