I'm trying to debug a problem and the AST request evaluator is getting in the way by causing
Decl::dump() to crash in code synthesis diagnostics. Does this surprise you? Is this expected?
If you want to reproduce this, try adding
var->dump() to the top of
PropertyWrapperBackingPropertyTypeRequest::evaluate() and then running test/decl/var/property_wrappers.swift from the test suite. This crash perfectly mimics the bug I'm trying to figure out (with the same test case).
Workaround (or fix?): https://github.com/apple/swift/pull/26408/