Skip to content
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

Fix tagPrefix/vTagPrefix coherence #170

Merged
merged 1 commit into from
Jun 30, 2020
Merged

Fix tagPrefix/vTagPrefix coherence #170

merged 1 commit into from
Jun 30, 2020

Conversation

dwijnand
Copy link
Member

I thought I'd gotten the defaults right with the coherence checking, but
I never wrote a test for it so, inevitably, it wasn't..

Fixed by not giving dynverTagPrefix a default value so it's possible
to tell if a user set it or not.

Now this sets the tagPrefix to "" if vTagPrefix was set to false.

If both keys are set, to incoherent values, it will throw.

Fixes #169

I thought I'd gotten the defaults right with the coherence checking, but
I never wrote a test for it so, inevitably, it wasn't..

Fixed by not giving `dynverTagPrefix` a default value so it's possible
to tell if a user set it or not.

Now this sets the tagPrefix to "" if vTagPrefix was set to false.

If both keys are set, to incoherent values, it will throw.
@dwijnand dwijnand merged commit bf36558 into master Jun 30, 2020
@dwijnand dwijnand deleted the fix-coherence branch June 30, 2020 20:13
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.

assertion failed: Incoherence: dynverTagPrefix=v vs dynverVTagPrefix=false
1 participant