Skip to content

ppx: Antiquotation in an attribute argument is currently unsupported #176

Open
@Armael

Description

@Armael

Using the ppx, the following pattern, which would be nice to have, is currently unsupported:

# fun extra_classes -> [%html {| <a class="foo bar |} extra_classes {|"></a>|}];;
Error: Error: Mixing literals and OCaml expressions is not supported in attribute values

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions