Repair egregious error in schema compiler
This commit is contained in:
parent
e4a2503899
commit
cefc029f70
|
@ -104,7 +104,7 @@ function unconverterFor(ctx: FunctionContext, p: M.Pattern, src: string, t: Simp
|
||||||
case 'lit':
|
case 'lit':
|
||||||
return ctx.mod.literal(p.value);
|
return ctx.mod.literal(p.value);
|
||||||
case 'embedded':
|
case 'embedded':
|
||||||
return `_.embedded(${src})`;
|
return `_.embed(${src})`;
|
||||||
case 'Ref':
|
case 'Ref':
|
||||||
return M.lookup(
|
return M.lookup(
|
||||||
refPosition(p.value), p.value, ctx.mod.env,
|
refPosition(p.value), p.value, ctx.mod.env,
|
||||||
|
|
Loading…
Reference in New Issue