diff options
author | Jose <jose@zeroc.com> | 2019-04-11 18:55:45 +0200 |
---|---|---|
committer | Jose <jose@zeroc.com> | 2019-04-11 18:55:45 +0200 |
commit | a51160dfd15cf699d06b60468c8f1afd53a3e7bb (patch) | |
tree | fde633a7ca1bef83378f429953fdd51efee41f4e /swift/src | |
parent | Regenerate test projects (diff) | |
download | ice-a51160dfd15cf699d06b60468c8f1afd53a3e7bb.tar.bz2 ice-a51160dfd15cf699d06b60468c8f1afd53a3e7bb.tar.xz ice-a51160dfd15cf699d06b60468c8f1afd53a3e7bb.zip |
Fixes for checkedCast
Diffstat (limited to 'swift/src')
-rw-r--r-- | swift/src/Ice/Proxy.swift | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/swift/src/Ice/Proxy.swift b/swift/src/Ice/Proxy.swift index bb819639766..256d31712ed 100644 --- a/swift/src/Ice/Proxy.swift +++ b/swift/src/Ice/Proxy.swift @@ -740,7 +740,8 @@ open class _ObjectPrxI: ObjectPrx { guard try objPrx.ice_isA(id: ProxyImpl.ice_staticId(), context: context) else { return nil } - } catch is FacetNotExistsException { + return ProxyImpl(from: objPrx) + } catch is FacetNotExistException { return nil } } |