SE-0492: Add support for closures (with no captures) into @section expressions

This commit is contained in:
Kuba Mracek
2025-11-16 09:21:12 -08:00
parent 8748213d52
commit 8da5f3141e
4 changed files with 72 additions and 9 deletions

View File

@@ -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,