Commits

Doug Gregor committed 847b78245a4
[Type checker] Use argument labels from the expression for type-checking calls. When we are type-checking calls, subscripts, or other call-like expressions, use the argument labels provided by the various expression nodes rather than those encoded in the tuple type. This means that argument label matching now matches the callee declaration's argument labels against the argument labels, without relying on encoding the argument labels within types in the AST. This refactor is a stepping stone torward SE-0111.