swift
ea346b61 - Look through an accessor's address result only from 'self' in MemoryLocations

Commit
2 days ago
Look through an accessor's address result only from 'self' in MemoryLocations MemoryLocations used to look through any apply with an address result, from whichever address operand it reached it by. It now looks through it only from the accessor's 'self' operand. Before, it made a borrow accessor result a sub-location of an @in_guaranteed index argument, and the memory lifetime verifier then reported a use of the result after the index was destroyed.
Author
Committer
Parents
Loading