[SR-12090] .sib files do not preserve import declarations #54526
Labels
bug
A deviation from expected or documented behavior. Also: expected but undesirable behavior.
compiler
The Swift compiler in itself
SILSerialization
Additional Detail from JIRA
md5: 0049e50c66c5de339f6ccd2a0fc269af
Issue Description:
Reproducer: consider any SIL file with import declarations, excluding the hardcoded modules
Builtin
,Swift
,SwiftShims
.Running
sil-opt
by itself preserves the import declaration:But generating a
.sib
file and deserializing it does not preserve the import declaration:This is an issue for round-trip SIL deserialization tests that use import declarations, since the import declarations are not preserved.
The text was updated successfully, but these errors were encountered: