Skip to content
This repository was archived by the owner on Aug 8, 2023. It is now read-only.

[core] Convert legacy functions directly to expressions - #12331

Merged
jfirebaugh merged 1 commit into
masterfrom
function-conversion
Jul 13, 2018
Merged

jfirebaugh merged 1 commit into
masterfrom
function-conversion

Conversation

@jfirebaugh

@jfirebaugh jfirebaugh commented Jul 5, 2018 •

Copy link
Copy Markdown
Contributor

Fixes #11247. Depends on #12328 and #12298.

@jfirebaugh
jfirebaugh force-pushed the function-conversion branch 6 times, most recently from 76c7443 to 2db2405 Compare July 6, 2018 18:45
@jfirebaugh
jfirebaugh requested a review from anandthakker July 6, 2018 18:48

@anandthakker anandthakker left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

💯

Comment thread src/mbgl/style/conversion/function.cpp Outdated

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I think it would be slightly clearer to call this case() instead of match()

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

case is a keyword though. I renamed to categorical.

Comment thread src/mbgl/style/conversion/function.cpp Outdated

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

This check and the previous one are already happening in convertCompositeFunctionToExpression

@jfirebaugh
jfirebaugh force-pushed the function-conversion branch 2 times, most recently from fe76f7c to 8696db5 Compare July 13, 2018 18:53
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants