mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Conditionalizing logic based on the exact output stream is brittle since e.g the client may be writing to an intermediate buffer before forwarding onto the output. For the ASTDumper itself, the client already passes whether or not it expects a fully semantic dump, use that instead. For `printContext`, the only client relying on this was some `ResolvedRangeInfo` tests, but these don't actually care about the computed discriminator, adjust the tests to not care.
22 KiB
22 KiB