Commit Graph

2 Commits

Author SHA1 Message Date
Erik Eckstein
fd61338444 IRGen: import external vtable symbols always as _public_ undefined symbols and not as _local_ undefined symbols.
This doesn't make a difference on Darwin, but on Linux it causes linker errors if a class inherits from a public class in another module which has private/internal members.

fixes SR-1901
2016-09-22 16:23:18 -07:00
Brian Gesiak
ef1be86705 [test] Add a failing test for SR-1129
SR-1129 tracks an issue in which the linking step fails if a base class,
defined in an imported module with a `public private(set) var`, is subclassed
by another module. This adds a test that XFAILs on Linux. The test
passed on OS X.

This issue is currently forcing swift-corelibs-xctest and
swift-corelibs-foundation to mark several privately-used variables as
`public`.
2016-04-10 19:15:45 -04:00