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-9889] Assertion hit in type-checking when applying @IBOutlet to a non-optional weak var #52295
Labels
bug
A deviation from expected or documented behavior. Also: expected but undesirable behavior.
compiler
The Swift compiler in itself
found by stress tester
Flag: An issue found by the SourceKit stress tester
type checker
Area → compiler: Semantic analysis
Comments
cc @akyrtzi |
Crashes the typechecker with assertion, reproduced from master 07b1905:
cc @xedin |
This is declaration checker crasher. /cc @DougGregor |
This issue was closed.
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.
compiler
The Swift compiler in itself
found by stress tester
Flag: An issue found by the SourceKit stress tester
type checker
Area → compiler: Semantic analysis
Attachment: Download
Environment
Using February 3rd Trunk built with Xcode 10.2 beta 2 (10P91b)
https://swift.org/builds/development/xcode/swift-DEVELOPMENT-SNAPSHOT-2019-02-03-a/swift-DEVELOPMENT-SNAPSHOT-2019-02-03-a-osx.pkg
Crash occurred just by building the main target of my app.
Additional Detail from JIRA
md5: 57dea54130f528373f07a99955b43839
is duplicated by:
Issue Description:
Detected unexpected failure: SourceKit crashed
request: CursorInfo in /Users/me/Desktop/Refrigerator/Refrigerator/View Controllers/BeveragesViewController.swift (modified: concurrent) at offset 444 with args: -incremental -module-name Refrigerator -Onone -enable-batch-mode -enforce-exclusivity=checked -DDEBUG -sdk /Applications/xcode_beta/Xcode-beta.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.2.sdk -target x86_64-apple-ios11.2-simulator -g -module-cache-path /Users/me/Library/Developer/Xcode/DerivedData/ModuleCache.noindex -Xfrontend -serialize-debugging-options -enable-testing -index-store-path /Users/me/Library/Developer/Xcode/DerivedData/Refrigerator-cogitanvthedtnflcnsyjazrxsuh/Index/DataStore -swift-version 5 -Xlinker -rpath -Xlinker /usr/lib/swift -I /Users/me/Library/Developer/Xcode/DerivedData/Refrigerator-cogitanvthedtnflcnsyjazrxsuh/Build/Products/Debug-iphonesimulator -F /Users/me/Library/Developer/Xcode/DerivedData/Refrigerator-cogitanvthedtnflcnsyjazrxsuh/Build/Products/Debug-iphonesimulator -c -j4 /Users/me/Desktop/Refrigerator/Refrigerator/Views/BeverageCategoryLabel.swift /Users/me/Desktop/Refrigerator/Refrigerator/View Models/BeverageCategoryViewModel.swift /Users/me/Desktop/Refrigerator/Refrigerator/Views/BeverageCell.swift /Users/me/Desktop/Refrigerator/Refrigerator/View Models/BeverageViewModel.swift /Users/me/Desktop/Refrigerator/Refrigerator/Coordinators/BeveragesFlowCoordinator.swift /Users/me/Desktop/Refrigerator/Refrigerator/View Controllers/BeveragesViewController.swift /Users/me/Desktop/Refrigerator/Refrigerator/Strings/BeverageCategoryString.swift /Users/me/Desktop/Refrigerator/Refrigerator/Extensions/UIColor.swift /Users/me/Desktop/Refrigerator/Refrigerator/View Models/BeveragesViewModel.swift /Users/me/Desktop/Refrigerator/Refrigerator/Coordinators/AppCoordinator.swift /Users/me/Desktop/Refrigerator/Refrigerator/Strings/Localizable.swift /Users/me/Desktop/Refrigerator/Refrigerator/AppDelegate.swift -output-file-map /Users/me/Library/Developer/Xcode/DerivedData/Refrigerator-cogitanvthedtnflcnsyjazrxsuh/Build/Intermediates.noindex/Refrigerator.build/Debug-iphonesimulator/Refrigerator.build/Objects-normal/x86_64/Refrigerator-OutputFileMap.json -parseable-output -serialize-diagnostics -emit-dependencies -emit-module -emit-module-path /Users/me/Library/Developer/Xcode/DerivedData/Refrigerator-cogitanvthedtnflcnsyjazrxsuh/Build/Intermediates.noindex/Refrigerator.build/Debug-iphonesimulator/Refrigerator.build/Objects-normal/x86_64/Refrigerator.swiftmodule -Xcc -I/Users/me/Library/Developer/Xcode/DerivedData/Refrigerator-cogitanvthedtnflcnsyjazrxsuh/Build/Intermediates.noindex/Refrigerator.build/Debug-iphonesimulator/Refrigerator.build/swift-overrides.hmap -Xcc -iquote -Xcc /Users/me/Library/Developer/Xcode/DerivedData/Refrigerator-cogitanvthedtnflcnsyjazrxsuh/Build/Intermediates.noindex/Refrigerator.build/Debug-iphonesimulator/Refrigerator.build/Refrigerator-generated-files.hmap -Xcc -I/Users/me/Library/Developer/Xcode/DerivedData/Refrigerator-cogitanvthedtnflcnsyjazrxsuh/Build/Intermediates.noindex/Refrigerator.build/Debug-iphonesimulator/Refrigerator.build/Refrigerator-own-target-headers.hmap -Xcc -I/Users/me/Library/Developer/Xcode/DerivedData/Refrigerator-cogitanvthedtnflcnsyjazrxsuh/Build/Intermediates.noindex/Refrigerator.build/Debug-iphonesimulator/Refrigerator.build/Refrigerator-all-non-framework-target-headers.hmap -Xcc -ivfsoverlay -Xcc /Users/me/Library/Developer/Xcode/DerivedData/Refrigerator-cogitanvthedtnflcnsyjazrxsuh/Build/Intermediates.noindex/Refrigerator.build/Debug-iphonesimulator/Refrigerator.build/all-product-headers.yaml -Xcc -iquote -Xcc /Users/me/Library/Developer/Xcode/DerivedData/Refrigerator-cogitanvthedtnflcnsyjazrxsuh/Build/Intermediates.noindex/Refrigerator.build/Debug-iphonesimulator/Refrigerator.build/Refrigerator-project-headers.hmap -Xcc -I/Users/me/Library/Developer/Xcode/DerivedData/Refrigerator-cogitanvthedtnflcnsyjazrxsuh/Build/Products/Debug-iphonesimulator/include -Xcc -I/Users/me/Library/Developer/Xcode/DerivedData/Refrigerator-cogitanvthedtnflcnsyjazrxsuh/Build/Intermediates.noindex/Refrigerator.build/Debug-iphonesimulator/Refrigerator.build/DerivedSources-normal/x86_64 -Xcc -I/Users/me/Library/Developer/Xcode/DerivedData/Refrigerator-cogitanvthedtnflcnsyjazrxsuh/Build/Intermediates.noindex/Refrigerator.build/Debug-iphonesimulator/Refrigerator.build/DerivedSources/x86_64 -Xcc -I/Users/me/Library/Developer/Xcode/DerivedData/Refrigerator-cogitanvthedtnflcnsyjazrxsuh/Build/Intermediates.noindex/Refrigerator.build/Debug-iphonesimulator/Refrigerator.build/DerivedSources -Xcc -DDEBUG=1 -emit-objc-header -emit-objc-header-path /Users/me/Library/Developer/Xcode/DerivedData/Refrigerator-cogitanvthedtnflcnsyjazrxsuh/Build/Intermediates.noindex/Refrigerator.build/Debug-iphonesimulator/Refrigerator.build/Objects-normal/x86_64/Refrigerator-Swift.h -import-objc-header /Users/me/Desktop/Refrigerator/Refrigerator/Refrigerator-Bridging-Header.h -pch-output-dir /Users/me/Library/Developer/Xcode/DerivedData/Refrigerator-cogitanvthedtnflcnsyjazrxsuh/Build/Intermediates.noindex/PrecompiledHeaders -working-directory /Users/me/Desktop/Refrigerator
The text was updated successfully, but these errors were encountered: