Embed pointer values into Values
This commit is contained in:
parent
58d2bf6f3a
commit
2d0e6255bd
|
@ -104,7 +104,7 @@ function unconverterFor(ctx: FunctionContext, p: M.Pattern, src: string, t: Simp
|
|||
case 'lit':
|
||||
return ctx.mod.literal(p.value);
|
||||
case 'pointer':
|
||||
return `${src}`;
|
||||
return `_.embed(${src})`;
|
||||
case 'Ref':
|
||||
return M.lookup(
|
||||
refPosition(p.value), p.value, ctx.mod.env,
|
||||
|
|
Loading…
Reference in New Issue