Skip to content

Document tagged templates #803

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 13 commits into from
Feb 1, 2024

Conversation

tsnobip
Copy link
Member

@tsnobip tsnobip commented Jan 25, 2024

Support of tagged templates was added by rescript-lang/rescript#6250.

This PR is meant to document this new feature that will land with v11.1.

Copy link

vercel bot commented Jan 25, 2024

@tsnobip is attempting to deploy a commit to the ReScript Association Team on Vercel.

A member of the Team first needs to authorize it.

Copy link
Collaborator

@zth zth left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great work! I added a few minor comments, do with it what you will.

@tsnobip tsnobip requested review from fhammerschmidt and zth February 1, 2024 10:23
@fhammerschmidt
Copy link
Member

fhammerschmidt commented Feb 1, 2024

Tests fail. You'd need to add

  "dependencies": {
    ...
    "rescript-1100": "npm:[email protected]",
+   "rescript-1110": "npm:[email protected]",
    "rescript-820": "npm:[email protected]",
    ...
  }

to compilers/package.json and use the new version "rescript-1110" instead of "rescript-1100" in scripts/test-examples.mjs

Copy link
Collaborator

@zth zth left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great! Just one tiny suggestion.

@fhammerschmidt
Copy link
Member

You still need to change the used version in test-examples. Unfortunately, testing uses only thebmost current version for now still.

@tsnobip
Copy link
Member Author

tsnobip commented Feb 1, 2024

thanks guys for the review, the tests pass now!

@fhammerschmidt fhammerschmidt merged commit 444f600 into rescript-lang:master Feb 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants