Skip to content

Conversation

@chadhietala
Copy link
Contributor

@chadhietala chadhietala commented Jun 4, 2022

I noticed that currently helpers are created on "first one wins" semantics because the map is keyed off of name. This PR fixes the issue by creating a unique token from SourceLocation to make sure we don't drop helpers on the floor.

I'm still vetting these changes locally.

@vercel
Copy link

vercel bot commented Jun 4, 2022

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated
structured-types ✅ Ready (Inspect) Visit Preview Jun 9, 2022 at 1:39PM (UTC)
@chadhietala chadhietala changed the title Use uuid for helper lookups Use unique token for helper lookups Jun 4, 2022
@chadhietala chadhietala force-pushed the fix-helper-clobbering branch from 2640f3f to 00d3910 Compare June 6, 2022 14:15
@chadhietala chadhietala marked this pull request as ready for review June 6, 2022 14:17
@chadhietala chadhietala force-pushed the fix-helper-clobbering branch from 00d3910 to 7670429 Compare June 6, 2022 14:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

1 participant