[SR-9015] Code completion assertion failure: (D->hasValidSignature()), function getType, file swift/lib/Sema/ConstraintSystem.h #51518
Labels
bug
A deviation from expected or documented behavior. Also: expected but undesirable behavior.
code completion
Area → source tooling: code completion
compiler
The Swift compiler in itself
crash
Bug: A crash, i.e., an abnormal termination of software
source tooling
Area: IDE support, SourceKit, and other source tooling
Attachment: Download
Additional Detail from JIRA
md5: d0a4cce3ff8d444b486ed453327006cf
duplicates:
Issue Description:
To reproduce:
Then in Xcode:
Select the October 3 dev snapshot toolchain
Navigate to AggregatedStructGenerator.swift
Replace its contents with attached "AggregatedStructGenerator-modified.swift" file
Invoke code completion immediately before the "=" in "if let internalStruct = result.internalStruct" on line 19 of the modified file to get the trace below:
The text was updated successfully, but these errors were encountered: