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
$ swiftenv version
DEVELOPMENT-SNAPSHOT-2022-01-09-a
$ swift --version
Swift version 5.6-dev (LLVM 7b20e61dd04138a, Swift 9438cf6)
Target: x86_64-unknown-linux-gnu
Additional Detail from JIRA
Votes
0
Component/s
Compiler
Labels
Bug
Assignee
None
Priority
Medium
md5: a43ed93d3615c72ad24c46a859ca0f4e
Issue Description:
as of DEVELOPMENT-SNAPSHOT-2022-01-09-a, using any result-builder in a generic context will crash the compiler, if the result-builder contains a for-loop.
Environment
$ swiftenv version
DEVELOPMENT-SNAPSHOT-2022-01-09-a
$ swift --version
Swift version 5.6-dev (LLVM 7b20e61dd04138a, Swift 9438cf6)
Target: x86_64-unknown-linux-gnu
Additional Detail from JIRA
md5: a43ed93d3615c72ad24c46a859ca0f4e
Issue Description:
as of DEVELOPMENT-SNAPSHOT-2022-01-09-a, using any result-builder in a generic context will crash the compiler, if the result-builder contains a for-loop.
Minimal reproduction:
crashes with:
Replacing the parameter `T` with a concrete type such as `Int` will compile normally.
The text was updated successfully, but these errors were encountered: