blob: 463b5a35bede0f1f82bbbb36f58b82fb5d7da407 [file] [log] [blame]
// To ensure walking the long chained call expression doesn't take long time to finish
// RUN: %target-swift-ide-test -syntax-coloring -source-filename %s | %FileCheck %s
// RUN: %target-swift-ide-test -syntax-coloring -typecheck -source-filename %s | %FileCheck %s
func migrate() -> EitherIO<Error, Prelude.Unit> {
// CHECK: <kw>func</kw> migrate() -> <type>EitherIO</type><<type>Error</type>, <type>Prelude</type>.<type>Unit</type>> {
return self.execute(
"""
"""
)
.flatMap(const(execute(
"""
"""
)))
.flatMap(const(execute(
"""
"""
)))
.flatMap(const(execute(
"""
"""
)))
.flatMap(const(execute(
"""
"""
)))
.flatMap(const(execute(
"""
"""
)))
.flatMap(const(execute(
"""
"""
)))
.flatMap(const(execute(
"""
"""
)))
.flatMap(const(execute(
"""
"""
)))
.flatMap(const(execute(
"""
"""
)))
.flatMap(const(execute(
"""
"""
)))
.flatMap(const(execute(
"""
"""
)))
.flatMap(const(execute(
"""
"""
)))
.flatMap(const(execute(
"""
"""
)))
.flatMap(const(execute(
"""
"""
)))
.flatMap(const(execute(
"""
"""
)))
.flatMap(const(execute(
"""
"""
)))
.flatMap(const(execute(
"""
"""
)))
.flatMap(const(execute(
"""
"""
)))
.flatMap(const(execute(
"""
"""
)))
.flatMap(const(execute(
"""
"""
)))
.flatMap(const(execute(
"""
"""
)))
.flatMap(const(execute(
"""
"""
)))
.flatMap(const(execute(
"""
"""
)))
.flatMap(const(execute(
"""
"""
)))
.flatMap(const(execute(
"""
"""
)))
.flatMap(const(execute(
"""
"""
)))
.map(const(unit))
}