Applying @_transparent
to a non-public
non-@usableFromInline
function crashes swift-frontend
in release mode
#59790
Labels
bug
A deviation from expected or documented behavior. Also: expected but undesirable behavior.
Note that this does not occur in new projects and packages, where the compilers correctly fails with the error.
It happened multiple times in a complex private package until I added
@usableFromInline
orpublic
. The curious thing is that it built in debug mode for quite a while before I realized.The text was updated successfully, but these errors were encountered: