diff options
author | 2009-08-22 12:55:18 -0400 | |
---|---|---|
committer | 2009-08-22 12:55:18 -0400 | |
commit | f79732bbf16467ecf40c6068bac93502aa49e9d2 (patch) | |
tree | 1d7e3ef3f5bbca99b53ac3ee3b66d934c22f1d0d /src/monoize.sml | |
parent | 28f2c29dd98659f00e4d7bc3147c2fc2e5320f34 (diff) |
Convert to requiring explicit 'rpc' marker
Diffstat (limited to 'src/monoize.sml')
-rw-r--r-- | src/monoize.sml | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/monoize.sml b/src/monoize.sml index 4d48a7ff..a5772976 100644 --- a/src/monoize.sml +++ b/src/monoize.sml @@ -3137,7 +3137,7 @@ fun monoExp (env, st, fm) (all as (e, loc)) = ((L'.ELet (x, t', e1, e2), loc), fm) end - | L.EServerCall (n, es, ek, t) => + | L.EServerCall (n, es, ek, t, (L.TRecord (L.CRecord (_, []), _), _)) => let val t = monoType env t val (_, ft, _, name) = Env.lookupENamed env n @@ -3192,6 +3192,9 @@ fun monoExp (env, st, fm) (all as (e, loc)) = in (e, fm) end + | L.EServerCall _ => (E.errorAt loc "Full scope of server call continuation isn't known"; + Print.eprefaces' [("Expression", CorePrint.p_exp env all)]; + (dummyExp, fm)) | L.EKAbs _ => poly () | L.EKApp _ => poly () |