We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Apple Swift version 4.0.3 (swiftlang-900.0.74.1 clang-900.0.39.2) Target: x86_64-apple-macosx10.9
Swift version 4.1-dev (LLVM db86aaee13, Clang c336c4829f, Swift 84e0d44253) Target: x86_64-apple-darwin17.3.0
md5: 10c48fa7b03391e3812af3c707d060f0
is duplicated by:
relates to:
Issue Description:
In Swift 4.0.3, the following crashes with EXC_BAD_ACCESS at runtime (looks like its being mis-compiled):
EXC_BAD_ACCESS
class Person {} protocol Parent where Self : Person { func speak() } class GrandMotherPerson : Person, Parent { func speak() {} } let parent: Parent = GrandMotherPerson() parent.speak()
In the latest dev snapshot, it triggers a compiler assertion instead:
TYPE MISMATCH IN ARGUMENT 0 OF APPLY AT expression at [/Users/Hamish/Desktop/main.swift:20:1 - line:20:14] RangeText="parent.speak()" argument value: %27 = open_existential_addr immutable_access %23 : $*Parent to $*@opened("32F07EA8-0071-11E8-AFDA-DCA9047B1400") Parent // user: %28 parameter type: $@opened("32F07EA8-0071-11E8-AFDA-DCA9047B1400") Parent
The text was updated successfully, but these errors were encountered:
Comment by William Yu (JIRA)
comes from here - https://stackoverflow.com/questions/48407121/exc-bad-access-when-trying-to-call-function-on-prototype?noredirect=1#comment83809638_48407121
There's some confusion if it's related to SR-55
Sorry, something went wrong.
@swift-ci create
@hamishknight, Could you verify if the problem is fixed and if so move the JIRA to "Closed"?
Thanks! Anna
slavapestov
No branches or pull requests
Environment
Apple Swift version 4.0.3 (swiftlang-900.0.74.1 clang-900.0.39.2)
Target: x86_64-apple-macosx10.9
Swift version 4.1-dev (LLVM db86aaee13, Clang c336c4829f, Swift 84e0d44253)
Target: x86_64-apple-darwin17.3.0
Additional Detail from JIRA
md5: 10c48fa7b03391e3812af3c707d060f0
is duplicated by:
relates to:
Issue Description:
In Swift 4.0.3, the following crashes with
EXC_BAD_ACCESS
at runtime (looks like its being mis-compiled):In the latest dev snapshot, it triggers a compiler assertion instead:
The text was updated successfully, but these errors were encountered: