Files
swift-mirror/test/PlaygroundTransform
Anders Bertelrud 192d275b78 Prevent crash with -playground when -experimental-skip-non-inlinable-function-bodies-without-types also passed (#71171)
Skip playground transform for functions that have skipped bodies. This can happen when passing `-emit-module` and `-experimental-skip-non-inlinable-function-bodies-without-types` and also enabling the playground transform. This causes the type to be `nullptr`. The fix is for the playground transform to check `AbstractFunctionDecl::isBodySkipped()`.

rdar://119258854
2024-01-30 11:37:03 -08:00
..