[SR-6400] catch should not allow patterns for types that don't conform to Error #48950
Labels
bug
A deviation from expected or documented behavior. Also: expected but undesirable behavior.
compiler
The Swift compiler in itself
good first issue
Good for newcomers
Environment
Xcode 9.2b2
Additional Detail from JIRA
md5: 7c4dde448ce9f350447079c1c9107ee4
Issue Description:
The `catch is X` should fail to build, since X does not conform to Error.
The text was updated successfully, but these errors were encountered: