fix(compiler): Query expression lambdas should have dynamic type
Fixes: #9875
This commit is contained in:
@ -105,9 +105,10 @@ function mapNestedViews(
|
||||
return o.replaceVarInExpression(o.THIS_EXPR.name, o.variable('nestedView'), expr);
|
||||
});
|
||||
return declarationAppElement.callMethod('mapNestedViews', [
|
||||
o.variable(view.className), o.fn(
|
||||
[new o.FnParam('nestedView', view.classType)],
|
||||
[new o.ReturnStatement(o.literalArr(adjustedExpressions))])
|
||||
o.variable(view.className),
|
||||
o.fn(
|
||||
[new o.FnParam('nestedView', view.classType)],
|
||||
[new o.ReturnStatement(o.literalArr(adjustedExpressions))], o.DYNAMIC_TYPE)
|
||||
]);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user