-
Notifications
You must be signed in to change notification settings - Fork 10.4k
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
Assertion in typechecker #77924
Labels
bug
A deviation from expected or documented behavior. Also: expected but undesirable behavior.
crash
Bug: A crash, i.e., an abnormal termination of software
triage needed
This issue needs more specific labels
type checker
Area → compiler: Semantic analysis
Comments
asl
added
bug
A deviation from expected or documented behavior. Also: expected but undesirable behavior.
type checker
Area → compiler: Semantic analysis
crash
Bug: A crash, i.e., an abnormal termination of software
triage needed
This issue needs more specific labels
labels
Dec 3, 2024
asl
added a commit
that referenced
this issue
Dec 10, 2024
…ype and Optional<T>.TangentType Fixes #77924
So, the typechecker starts to typecheck the call
And solution is:
And it seems that the crash happens inside
and
So,
|
It seems that conformance to |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
bug
A deviation from expected or documented behavior. Also: expected but undesirable behavior.
crash
Bug: A crash, i.e., an abnormal termination of software
triage needed
This issue needs more specific labels
type checker
Area → compiler: Semantic analysis
Description
Consider the attached testcase. The typechecker fails with the assertion:
Reproduction
Stack dump
Expected behavior
Invalid program diagnosed properly
Environment
Swift version 6.1-dev (LLVM 42f3e8ef873e24d, Swift 0c8afd3)
Target: arm64-apple-macosx15.0
Additional information
No response
The text was updated successfully, but these errors were encountered: