Add gen modifier to functions

We don't yet lower or maybe even parse them, but blocks already have `gen`, so why not.
This commit is contained in:
Chayim Refael Friedman 2024-08-22 14:27:35 +03:00
parent 506b9663bf
commit cc07652be5
9 changed files with 38 additions and 4 deletions

View file

@ -365,6 +365,7 @@ impl FunctionBuilder {
self.is_async,
false, // FIXME : const and unsafe are not handled yet.
false,
false,
)
.clone_for_update();