[SR-6118] mechanism to hand through #file/#line in subscripts #48673
Labels
compiler
The Swift compiler itself
default arguments
Feature: default arguments for value parameters
feature
A feature request or implementation
subscript
Feature: Subscript declarations
Additional Detail from JIRA
md5: b802d9f73456058327d450079e18b6e4
Issue Description:
For my hypothetical
MyArray
implementation, in normal functions I can writeand I'll be able to create good error messages for the user.
In subscripts however, default arguments are disallowed so
will always show its literal line and file rather than the callers.
The text was updated successfully, but these errors were encountered: