Repository navigation
Fix constant folding - #6468
Fix constant folding#6468
Conversation
|
I included #6253 in this work because I realized belatedly that it's the most natural way to test the changes. |
5c17dab to
ad80a89
Compare
This is simpler, is how native does it, and is helpful for constant folding as it allows evaluating a descendant of "let" without needing a context.
ad80a89 to
c17d3ac
Compare
|
Alright, rebased now that |
jfirebaugh
left a comment
There was a problem hiding this comment.
LGTM, although I have a lingering instinct that isConstant and friends are missing some simplifying abstraction that would make them more straightforward and less dependent on checking a bunch of highly specific conditionals.
Yeah, I've had the same feeling, but haven't had an idea for the right abstraction click into place yet |
Replaces #6464
Refs mapbox/mapbox-gl-native#10849 (comment)