Skip to content

Commit f374a41

Browse files
committed
Frontend: Don't force decl skipping with -experimental-lazy-typecheck.
Reverts #69214. Resolves rdar://117020997
1 parent 1e5f69b commit f374a41

File tree

2 files changed

+0
-6
lines changed

2 files changed

+0
-6
lines changed

lib/Frontend/ArgsToFrontendOptionsConverter.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -322,8 +322,6 @@ bool ArgsToFrontendOptionsConverter::convert(
322322

323323
Opts.SkipNonExportableDecls |=
324324
Args.hasArg(OPT_experimental_skip_non_exportable_decls);
325-
// FIXME: Remove this with rdar://117020997
326-
Opts.SkipNonExportableDecls |= Args.hasArg(OPT_experimental_lazy_typecheck);
327325
Opts.DebugPrefixSerializedDebuggingOptions |=
328326
Args.hasArg(OPT_prefix_serialized_debugging_options);
329327
Opts.EnableSourceImport |= Args.hasArg(OPT_enable_source_import);

test/Serialization/lazy-typecheck.swift

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,6 @@
22
// RUN: %target-swift-frontend -swift-version 5 %S/../Inputs/lazy_typecheck.swift -enable-library-evolution -parse-as-library -package-name Package -DFLAG -typecheck -verify
33
// RUN: %target-swift-frontend -swift-version 5 %S/../Inputs/lazy_typecheck.swift -module-name lazy_typecheck -emit-module -emit-module-path %t/lazy_typecheck.swiftmodule -enable-library-evolution -parse-as-library -package-name Package -DFLAG -experimental-lazy-typecheck -experimental-skip-all-function-bodies -experimental-skip-non-exportable-decls
44

5-
// Verify the module also builds without -experimental-skip-non-exportable-decls
6-
// FIXME: Remove with rdar://117020997
7-
// RUN: %target-swift-frontend -swift-version 5 %S/../Inputs/lazy_typecheck.swift -module-name lazy_typecheck -emit-module -emit-module-path /dev/null -enable-library-evolution -parse-as-library -package-name Package -DFLAG -experimental-lazy-typecheck -experimental-skip-all-function-bodies
8-
95
// RUN: %target-swift-frontend -package-name Package -typecheck -verify %S/../Inputs/lazy_typecheck_client.swift -DFLAG -I %t
106

117
// FIXME: Re-run the test with -experimental-skip-non-inlinable-function-bodies

0 commit comments

Comments
 (0)