Experimental type-checking support for @isolated(any) function types.

This commit is contained in:
John McCall
2024-02-06 22:54:27 -05:00
parent 78cf572633
commit 2f8a33cf0a
50 changed files with 760 additions and 95 deletions

View File

@@ -548,7 +548,8 @@ enum class ActorIsolation : uint8_t {
Nonisolated,
NonisolatedUnsafe,
GlobalActor,
GlobalActorUnsafe
GlobalActorUnsafe,
Erased,
};
using ActorIsolationField = BCFixed<3>;
@@ -688,7 +689,7 @@ using PluginSearchOptionKindField = BCFixed<3>;
enum class FunctionTypeIsolation : uint8_t {
NonIsolated,
Parameter,
Dynamic,
Erased,
GlobalActorOffset, // Add this to the global actor type ID
};
using FunctionTypeIsolationField = TypeIDField;