You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The current implementation of TestPair can be initialized with a throwing or non-throwing autoclosure, but the getters for left and right can't know which, so they always have to assume non-throwing and force-try.
The current implementation of
TestPair
can be initialized with a throwing or non-throwing autoclosure, but the getters forleft
andright
can't know which, so they always have to assume non-throwing and force-try.Here's some code from @IanKeen that might help:
Usage:
Further ramblings from me:
The text was updated successfully, but these errors were encountered: