Swift: Extract whether a function type is throwing or async.

This commit is contained in:
Mathias Vorreiter Pedersen
2022-05-27 11:48:01 +01:00
parent 55513e0dbb
commit 45bbd24355
6 changed files with 25 additions and 0 deletions

View File

@@ -63,6 +63,7 @@ AnyFunctionType:
param_types: Type*
param_labels: string*
is_throwing: predicate
is_async: predicate
AnyGenericType:
_extends: Type