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

Disallow interpolation for variable-length numeric arrays #5519

Merged
merged 2 commits into from
Oct 25, 2017

Conversation

anandthakker
Copy link
Contributor

No description provided.

The previous commit causes the 'curve' parsing validation to preempt
createExpression()'s check for piecewise-constant zoom function using
'step' interpolation, because `line-dasharray`'s style spec type,
`array<number>`, already isn't interpolatable.

Adding this unit test to make sure we always enforce step curves, even
for a theoretical style property whose base type is interpolatable.
@anandthakker anandthakker merged commit 3eced30 into master Oct 25, 2017
@anandthakker anandthakker deleted the uninterpolatable-number-array branch October 25, 2017 14:36
@jfirebaugh jfirebaugh added this to the v0.42 milestone Nov 2, 2017
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.

2 participants