diff options
author | John Firebaugh <john.firebaugh@gmail.com> | 2018-05-17 09:55:15 -0700 |
---|---|---|
committer | John Firebaugh <john.firebaugh@gmail.com> | 2018-05-18 12:10:31 -0700 |
commit | b2fabe5eefc81cc38866a4856d6db37f4471d6ae (patch) | |
tree | e18ba39a836f157a4da61a2a12c39a739f9faaad /mapbox-gl-js | |
parent | be6e40eb683082cb0f3c330179ed59c92a9398aa (diff) | |
download | qtlocation-mapboxgl-b2fabe5eefc81cc38866a4856d6db37f4471d6ae.tar.gz |
[core] Align match behavior with case/==
Makes `["match", ["get", k], label, match, otherwise]` equivalent to `["case", ["==", ["get", k], label], match, otherwise]`. This changes the behavior of match expressions where the runtime type of the input does not match the type of the labels: previously such expressions produced a runtime type error and then fell back to the property default value; now they produce the fallback value from the match expression.
Diffstat (limited to 'mapbox-gl-js')
m--------- | mapbox-gl-js | 0 |
1 files changed, 0 insertions, 0 deletions
diff --git a/mapbox-gl-js b/mapbox-gl-js -Subproject 5b3af8e1515ee311967661b5aabdab65f1376e3 +Subproject a5a8dfe5b90737dbb295eaca7f41c667ae4060a |