Commit Graph

2 Commits

Author SHA1 Message Date
Saleem Abdulrasool
97a194de65 test: simplify test and enable more broadly
Use the implicit conversion of a closure to an actor isolated closure to
trigger the assertion failure.  This allows us to test this more broadly
on all platforms with concurrency.
2022-12-09 08:20:09 -08:00
Ben Barham
7fb229a5d5 [Index] Use ide::getReferencedDecl instead of custom extractDecl
`passReference` was failing to find the underlying declaration for a
constructor reference. In this case it was for a
`FunctionConversionExpr`, but there's likely others. Use
`ide::getReferencedDecl` instead.

Resolves rdar://102563191.
2022-12-08 09:16:23 -08:00