swift
082b824a - [rbi] Change Region Based Isolation for closures to not use the AST and instead just use SIL.

Commit
251 days ago
[rbi] Change Region Based Isolation for closures to not use the AST and instead just use SIL. The reason why I am doing this is that in certain cases the AST captures indices will never actually line up with partial apply capture indices since we seem to "smush" together closures and locally defined functions. NOTE: The reason for the really small amount of test changes is that this change does not change the actual output by design. The only cases I had to change were a case where we began to emit a better diagnostic and also where I added code coverage around _ and let _ since those require ignored_use to be implemented so that they would be diagnosed (previously we just did not emit anything so we couldn't emit the diagnostic at the SIL level). rdar://142661388
Author
Committer
Parents
Loading