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-8714] Compiler is unable to type-check #51226

Open
swift-ci opened this issue Sep 7, 2018 · 4 comments
Open

[SR-8714] Compiler is unable to type-check #51226

swift-ci opened this issue Sep 7, 2018 · 4 comments
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 swift 4.2 type checker Area → compiler: Semantic analysis

Comments

@swift-ci
Copy link
Collaborator

swift-ci commented Sep 7, 2018

Previous ID SR-8714
Radar rdar://problem/44233128
Original Reporter strike (JIRA User)
Type Bug

Attachment: Download

Environment

Xcode 10.2 (10E125)
macOS 10.14.4 (18E226)

Additional Detail from JIRA
Votes 0
Component/s Compiler
Labels Bug, 4.2Regression, 5.0Regression, TypeChecker
Assignee None
Priority Medium

md5: a74dbda0057c29cb07353e9a9ce088b4

Issue Description:

Hi!

When using generic numeric functions with more or less complicated expressions the compiler gives up.

See the example in the attached playground content.

@jckarter
Copy link
Member

jckarter commented Sep 7, 2018

@swift-ci create

@swift-ci
Copy link
Collaborator Author

Comment by VT (JIRA)

Same happens when using Xcode 10 GM.
Added a new example.

It is very disappointing that the support of generic numeric functions is so poor. This makes Swift useless for scientific software at this time.

@swift-ci
Copy link
Collaborator Author

swift-ci commented Apr 4, 2019

Comment by VT (JIRA)

Unfortunately there is no improvement even with the new version. Are there no new findings?

Regards!

@swift-ci
Copy link
Collaborator Author

swift-ci commented Jun 1, 2019

Comment by VT (JIRA)

Push up

@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 swift 4.2 type checker Area → compiler: Semantic analysis
Projects
None yet
Development

No branches or pull requests

3 participants