Files
swift-mirror/lib/Sema/ConstraintSystem.cpp
Pavel Yaskevich 9347a091e1 [ConstraintSystem] Adjust getCalleeLocator and simplifyLocator to handle ArgumentAttribute
- `getCalleeLocator`, if given locator ends at `ArgumentAttribute`
  strip the last element which makes sure that produced locator
  always refers directly to argument-to-parameter conversion.

- `simplifyLocator`, always leave `ArgumentAttribute` in the path
  because it's useful for diagnostics.
2020-05-18 13:10:26 -07:00

165 KiB