Commit Graph

3 Commits

Author SHA1 Message Date
Allan Shortlidge
2b8ab7fbab AST: Re-baseline SendingArgsAndResults feature. 2025-07-31 10:21:55 -07:00
Michael Gottesman
587cfc706e Remove an unnecessary extra FileCheck file in favor of using different FileCheck -check-prefix. 2024-09-18 10:41:40 -07:00
Michael Gottesman
15a34a530f [sending] Look through the sending type repr when printing the type of a function result using the type repr fallback path.
When we print types in the AST printer if for some reason we cannot find the
appropriate type to print or if the user explicitly asks, we fall back and use a
type repr instead.

This behavior causes a problem due to the implementation of sending results
using a sending type repr to communicate that the relevant function has a
sending result, but we actually do not use the sending type repr from that point
on. So as a result, in this fallback case, we put in one too many sending on the
result.

rdar://135594964
2024-09-17 16:54:42 -07:00