mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
SE-0492: Add support for closures (with no captures) into @section expressions
This commit is contained in:
@@ -832,6 +832,8 @@ ERROR(const_unsupported_type_expr,none,
|
||||
"type expressions not supported in a constant expression", ())
|
||||
ERROR(const_unsupported_closure,none,
|
||||
"closures not supported in a constant expression", ())
|
||||
ERROR(const_unsupported_closure_with_captures,none,
|
||||
"closures with captures not supported in a constant expression", ())
|
||||
ERROR(const_unsupported_keypath,none,
|
||||
"keypaths not supported in a constant expression", ())
|
||||
ERROR(const_opaque_decl_ref,none,
|
||||
|
||||
Reference in New Issue
Block a user