Andrea Vezzosi pushed to branch wip/romes/async-rpc at Glasgow Haskell Compiler / GHC
Commits:
-
75c2e58c
by Andrea Vezzosi at 2026-11-25T10:09:40+01:00
1 changed file:
Changes:
| ... | ... | @@ -1146,12 +1146,14 @@ convertAnnotationWrapper fhv = do |
| 1146 | 1146 | runQinTcM :: TH.Q a -> TcM a
|
| 1147 | 1147 | runQinTcM (TH.Q act) = withRunInIO $ \runInIO -> act (metaHandlersTcM runInIO)
|
| 1148 | 1148 | |
| 1149 | +#if defined(HAVE_INTERNAL_INTERPRETER)
|
|
| 1149 | 1150 | -- | Like 'runQinTcM' but forcing methods' arguments, to trigger exceptions
|
| 1150 | 1151 | -- originating from the splice.
|
| 1151 | 1152 | --
|
| 1152 | 1153 | -- See Note [Exceptions in TH]
|
| 1153 | 1154 | runQinTcM' :: TH.Q a -> TcM a
|
| 1154 | 1155 | runQinTcM' (TH.Q act) = withRunInIO $ \runInIO -> act (TH.forceMetaHandlersArgs $ metaHandlersTcM runInIO)
|
| 1156 | +#endif
|
|
| 1155 | 1157 | |
| 1156 | 1158 | runRemoteModFinalizers :: ThModFinalizers -> TcM ()
|
| 1157 | 1159 | runRemoteModFinalizers (ThModFinalizers finRefs) = do
|