diff options
author | Benoit Foucher <benoit@zeroc.com> | 2019-09-25 17:26:36 +0200 |
---|---|---|
committer | Benoit Foucher <benoit@zeroc.com> | 2019-09-25 17:46:22 +0200 |
commit | 4058ada173f6e868e70a667078f5a770ae8efa7c (patch) | |
tree | 5ecc854afb72d695589e83df666a080a58681ad9 /swift/test | |
parent | Update .NET Core default target framework to .netcoreapp3.0 (diff) | |
download | ice-4058ada173f6e868e70a667078f5a770ae8efa7c.tar.bz2 ice-4058ada173f6e868e70a667078f5a770ae8efa7c.tar.xz ice-4058ada173f6e868e70a667078f5a770ae8efa7c.zip |
Fixed Python bug related to invalid return parameters, fixes #550
Diffstat (limited to 'swift/test')
-rw-r--r-- | swift/test/Ice/servantLocator/ServantLocatorI.swift | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/swift/test/Ice/servantLocator/ServantLocatorI.swift b/swift/test/Ice/servantLocator/ServantLocatorI.swift index a4ed8c5ee9f..99e7220620c 100644 --- a/swift/test/Ice/servantLocator/ServantLocatorI.swift +++ b/swift/test/Ice/servantLocator/ServantLocatorI.swift @@ -43,6 +43,11 @@ class ServantLocatorI: Ice.ServantLocator { return (nil, nil) } + if(curr.id.name == "invalidReturnValue" || curr.id.name == "invalidReturnType") { + return (nil, nil) + } + + try _helper.test(curr.id.name == "locate" || curr.id.name == "finished") if curr.id.name == "locate" { |