Currently, it seems impossible to compile SwiftParsec with Swift 4.2, because the compiler will emit the following error:
The problem appears to be this expression.
However, this library compiles without problems in Swift 4.1.2.
Did anything substantial change about the type inference algorithm or what could be a likely explanation for this change in compiler behaviour?