mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Sema: Subscript default arguments
Fixes <https://bugs.swift.org/browse/SR-6118>.
This commit is contained in:
@@ -821,8 +821,6 @@ ERROR(untyped_pattern_ellipsis,none,
|
||||
"'...' cannot be applied to a subpattern which is not explicitly typed", ())
|
||||
ERROR(no_default_arg_closure,none,
|
||||
"default arguments are not allowed in closures", ())
|
||||
ERROR(no_default_arg_subscript,none,
|
||||
"default arguments are not allowed in subscripts", ())
|
||||
ERROR(no_default_arg_curried,none,
|
||||
"default arguments are not allowed in curried parameter lists", ())
|
||||
ERROR(var_pattern_in_var,none,
|
||||
|
||||
Reference in New Issue
Block a user