You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
TF-1094 .swiftinterface compilation: unserialized @derivative function is not registered for serialized @differentiable function
Issue Description:
`@derivative(of: subscript)` crashes in the stdlib: 73d43cf
Assertionfailed: (!baseName.isSpecial() && "Can't retrieve the identifier of a special base name"), functiongetBaseIdentifier, file /Users/danielzheng/swift-build/swift/include/swift/AST/Identifier.h, line469
The crash occurs in BuiltinUnit::lookupValue, called via TypeChecker::lookupUnqualified.
Strangely, a standalone reproducer does not crash:
Additional Detail from JIRA
md5: 816dc3ad01f6add55f3e37b85815b450
relates to:
@derivative
function is not registered for serialized@differentiable
functionIssue Description:
`@derivative(of: subscript)` crashes in the stdlib: 73d43cf
The crash occurs in
BuiltinUnit::lookupValue
, called viaTypeChecker::lookupUnqualified
.Strangely, a standalone reproducer does not crash:
The text was updated successfully, but these errors were encountered: