- Xcode 10.2 beta 2 (10P91b)
- Apple Swift version 5.0 (swiftlang-1001.0.60.3 clang-1001.0.37.8)
ABI version: 0.7
- macOS 10.14.2 (18C54)
The following test case traps during runtime in the latest Xcode 10.2 beta 2 (10P91b):
The error reads:
Removing the spurious 'indirect' modifier from 'case all([MatchRule])' fixes the crash and the code behaves normally.