swift
5c353a97 - [region-isolation] When computing isolation for isolated parameters, use getAnyActor instead of getNominalOrBoundGenericNominal().

Commit
1 year ago
[region-isolation] When computing isolation for isolated parameters, use getAnyActor instead of getNominalOrBoundGenericNominal(). This ensures that we can properly compute isolation for generic types that conform to AnyActor. I found this by playing with test cases from the previous commit. We would not find an actor type for the actor instance isolation and would fall back along an incorrect path. rdar://128021548 (cherry picked from commit fe2dc11cb93788822dd7517c2cb1726a004e8508)
Author
Committer
Parents
Loading