[SR-9791] [AD] PrimalGen attempts to analyze an external function in multi-file compilation #52216
Labels
bug
A deviation from expected or documented behavior. Also: expected but undesirable behavior.
swift for tensorflow
Additional Detail from JIRA
md5: 97eeb6a5e983d062674abda5d7020988
relates to:
Issue Description:
When invoking the compiler as
swiftc main.swift other.swift
, with a function declared with@differentiable
inother.swift
and an attempted differentiation of that function inmain.swift
, PrimalGen crashes because it attempts to invoke itself on the external function.The text was updated successfully, but these errors were encountered: