mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
This change reflects the behavior of `DeclAttribute.printImpl` that prints the `override` keyword in a swiftinterface only when the overriden decl is also public. This issue was detected when working on deserialization safety by public overrides of private functions in the following tests: test/Interpreter/vtables_multifile.swift test/Interpreter/vtables_multifile_testable.swift test/SILGen/accessibility_vtables_testable.swift test/SILGen/accessibility_vtables_usableFromInline.swift test/SILGen/vtables_multifile.swift
234 KiB
234 KiB