[swift-users] Can't get Error pattern matching to work cross framework and command line tool

Joakim Hassila joj at mac.com
Tue May 31 23:49:04 CDT 2016


Hi Joe,

Absolutely, I just filed rdar://26569913 (used Radar according to community guidelines of putting projects requiring Xcode to reproduce there).

I hope I captured the dependencies / reproduction steps properly in the report, let me know if anything else is needed.

Cheers,

Joakim

> On 31 maj 2016, at 23:23, Joe Groff <jgroff at apple.com> wrote:
> 
> 
>> On May 31, 2016, at 8:50 AM, Joakim Hassila via swift-users <swift-users at swift.org> wrote:
>> 
>> Hi Ian,
>> 
>> Nope, it is the only definition - I also actually have tried to fully qualify it as Z.Transaction.Error.NotFound without any difference both at the throw and catch sides.
>> 
>> I do believe the compiler would have warned if the enum was ambigious also...
> 
> Would you be able to file a bug with the project that displays this behavior?
> 
> -Joe



More information about the swift-users mailing list