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

Accept constant expressions in non-dds properties - #11960

Merged
anandthakker merged 1 commit into
masterfrom
fix-11940
May 23, 2018
Merged

anandthakker merged 1 commit into
masterfrom
fix-11940

Conversation

@anandthakker

Copy link
Copy Markdown
Contributor

Closes #11940

Needs backport to release-boba

ASSERT_TRUE(result);
ASSERT_TRUE(result->isConstant());
ASSERT_EQ(result->asConstant(), expected);
}

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.

Chose to go with a unit test rather than a render test here, because the latter would quietly cease to guard against regression if whatever currently-non-DDS property we used became DDS.

@anandthakker
anandthakker merged commit 464fefa into master May 23, 2018
@anandthakker
anandthakker deleted the fix-11940 branch May 23, 2018 13:54
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Core The cross-platform C++ core, aka mbgl

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants