File tree 1 file changed +3
-7
lines changed
1 file changed +3
-7
lines changed Original file line number Diff line number Diff line change 17
17
#ifndef SWIFT_ABI_EXECUTOR_H
18
18
#define SWIFT_ABI_EXECUTOR_H
19
19
20
- #include " ../../../stdlib/public/Concurrency/Error.h"
21
-
20
+ #include < inttypes.h>
22
21
#include " swift/ABI/Actor.h"
23
22
#include " swift/ABI/HeapObject.h"
24
23
#include " swift/Runtime/Casting.h"
25
- #include < inttypes.h>
26
24
27
25
namespace swift {
28
26
class AsyncContext ;
@@ -434,8 +432,7 @@ getIsIsolatingCurrentContextDecisionFromInt(int8_t value) {
434
432
case 0 : return IsIsolatingCurrentContextDecision::NotIsolated;
435
433
case 1 : return IsIsolatingCurrentContextDecision::Isolated;
436
434
default :
437
- swift_Concurrency_fatalError (0 , " Unexpected IsIsolatingCurrentContextDecision value" );
438
- return IsIsolatingCurrentContextDecision::Unknown; // silence warning about missing return
435
+ fatalError (0 , " Unexpected IsIsolatingCurrentContextDecision value" );
439
436
}
440
437
}
441
438
@@ -445,8 +442,7 @@ inline StringRef getIsIsolatingCurrentContextDecisionNameStr(IsIsolatingCurrentC
445
442
case IsIsolatingCurrentContextDecision::NotIsolated: return " NotIsolated" ;
446
443
case IsIsolatingCurrentContextDecision::Isolated: return " Isolated" ;
447
444
}
448
- swift_Concurrency_fatalError (0 , " Unexpected IsIsolatingCurrentContextDecision value" );
449
- return " <Unexpected Value>" ; // silence warning about missing return
445
+ fatalError (0 , " Unexpected IsIsolatingCurrentContextDecision value" );
450
446
}
451
447
452
448
}
You can’t perform that action at this time.
0 commit comments