Skip to content
TE211 · Type · error

Quoted hole value cannot be converted to syntax

A `${value}` hole received a value with no safe source representation; insert a primitive or `Syntax<K>` node instead.

Why this fires

A ${value} hole received a value that has no safe source representation in that quote. Primitive values and Syntax<K> nodes can be inserted directly; arbitrary records and runtime objects cannot.

Fix it

Extract a primitive field, or build an explicit structured template.

let label = info.name
return quote expr { ${label} }

For a source identifier, use syntax.ident(text) instead of inserting a string.

See also

Search Zolo

9 results

en