[SR-8212] Incorrect error message: '@inlinable' attribute can only be applied to public declarations #50744
Labels
bug
A deviation from expected or documented behavior. Also: expected but undesirable behavior.
compiler
The Swift compiler in itself
diagnostics QoI
Bug: Diagnostics Quality of Implementation
Additional Detail from JIRA
md5: 004c0037dac16a92c6b7f39936e4fc41
Issue Description:
error: '@inlinable' attribute can only be applied to public declarations, but 'foo' is fileprivate
This is somewhat misleading because '@inlinable' also applies to 'internal' declarations.
The text was updated successfully, but these errors were encountered: