Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[SR-8046] [Source Compat] Sourcery: error: the compiler is unable to type-check this expression in reasonable time #50579

Open
clackary opened this issue Jun 20, 2018 · 1 comment
Labels
access control Feature → modifiers: Access control and access levels bug A deviation from expected or documented behavior. Also: expected but undesirable behavior. compiler The Swift compiler in itself regression source compatibility swift 4.2 type checker Area → compiler: Semantic analysis

Comments

@clackary
Copy link
Contributor

Previous ID SR-8046
Radar rdar://problem/41278626
Original Reporter @clackary
Type Bug
Additional Detail from JIRA
Votes 1
Component/s Compiler
Labels Bug, 4.2Regression, SourceCompatibility, TypeChecker
Assignee None
Priority Medium

md5: dc5b781e77d3d7f4381be55dda71f39b

Issue Description:

To reproduce:

  1. Install latest GM/Beta Xcode
  2. $ git clone git@github.com:apple/swift-source-compat-suite.git
  3. $ cd swift-source-compat-suite
    To build Swift from scratch before testing:
  4. $ ./reproduce.py master --project-path Sourcery
    Or if you've already built Swift:
  5. $ ./reproduce.py master --project-path Sourcery --swiftc path/to/swiftc

See Build #1990.

/Users/buildnode/jenkins/workspace-private/swift-master-source-compat-suite/project_cache/Sourcery/.build/checkouts/StencilSwiftKit.git--3849885744839706587/Sources/SwiftIdentifier.swift:16:55: error: the compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions
private let headRanges: [CountableClosedRange<Int>] = [
                                                      ^
@clackary
Copy link
Contributor Author

@swift-ci create

@swift-ci swift-ci transferred this issue from apple/swift-issues Apr 25, 2022
@AnthonyLatsis AnthonyLatsis added regression swift 4.2 access control Feature → modifiers: Access control and access levels and removed 4.2 regression labels Nov 19, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
access control Feature → modifiers: Access control and access levels bug A deviation from expected or documented behavior. Also: expected but undesirable behavior. compiler The Swift compiler in itself regression source compatibility swift 4.2 type checker Area → compiler: Semantic analysis
Projects
None yet
Development

No branches or pull requests

2 participants