54fb4d9b70
If we are compiling metadata, make synthetic forward declarations `expect`, because otherwise `getFirstClassifierDiscriminateHeaders` would prefer it over a "real" `expect` declaration from a commonized interop library, which would ruin the whole idea of using synthetic forward declarations only when no proper definitions are found. ^KT-51377 Fixed