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
The issue occurs because type-checking the S: P2 conformance in file2.swift currently creates an implicit @differentiable(wrt: self) attribute on the P2.callAsFunction method in file1.swift (a different file). This should be rejected.
The undefined symbol is the SIL differentiability witness for P2.callAsFunction. It's referenced by S.callAsFunction JVP/VJP protocol witness thunks:
Additional Detail from JIRA
md5: 3a3e7fb6f8e63ab2dff65228c29f9661
Issue Description:
Reproducer:
The issue occurs because type-checking the
S: P2
conformance infile2.swift
currently creates an implicit@differentiable(wrt: self)
attribute on theP2.callAsFunction
method infile1.swift
(a different file). This should be rejected.The undefined symbol is the SIL differentiability witness for
P2.callAsFunction
. It's referenced byS.callAsFunction
JVP/VJP protocol witness thunks:Original longer reproducer:
The text was updated successfully, but these errors were encountered: