mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
This option is designed to be used in conjunction with `-experimental-lazy-typecheck` and `-experimental-skip-all-function-bodies` when emitting a resilient module. The emitted binary module should contain only the decls needed by clients and should contain roughly the same contents as it would if the corresponding swiftinterface were emitted instead and then built. This functionality is a work in progress. Some parts of the AST may still get typechecked unnecessarily. Additionally, serialization does not trigger the appropriate typechecking requests for some ASTs and then fails due to missing types. Resolves rdar://114230586