ol 9.2.5-dev.1716917419876 → 9.2.5-dev.1717010067861
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/ol.js +2 -2
- package/dist/ol.js.map +1 -1
- package/expr/expression.js +2 -2
- package/package.json +1 -1
- package/util.js +1 -1
package/expr/expression.js
CHANGED
|
@@ -834,7 +834,7 @@ function parseMatchArgs(encoded, context, parsedArgs, typeHint) {
|
|
|
834
834
|
|
|
835
835
|
const input = parse(encoded[1], context);
|
|
836
836
|
let inputType = input.type;
|
|
837
|
-
const fallback = parse(encoded[encoded.length - 1], context);
|
|
837
|
+
const fallback = parse(encoded[encoded.length - 1], context, typeHint);
|
|
838
838
|
let outputType =
|
|
839
839
|
typeHint !== undefined ? typeHint & fallback.type : fallback.type;
|
|
840
840
|
|
|
@@ -842,7 +842,7 @@ function parseMatchArgs(encoded, context, parsedArgs, typeHint) {
|
|
|
842
842
|
const args = new Array(argsCount - 2);
|
|
843
843
|
for (let i = 0; i < argsCount - 2; i += 2) {
|
|
844
844
|
const match = parse(encoded[i + 2], context);
|
|
845
|
-
const output = parse(encoded[i + 3], context);
|
|
845
|
+
const output = parse(encoded[i + 3], context, typeHint);
|
|
846
846
|
inputType &= match.type;
|
|
847
847
|
outputType &= output.type;
|
|
848
848
|
args[i] = match;
|
package/package.json
CHANGED
package/util.js
CHANGED