We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
expressions/lib/src/evaluator.dart
Line 118 in 4f9dcb2
add a null check here.
if value of callee evaluates to null then it throws an exception stating type 'Null' is not a subtype of type 'Function'
callee
null
type 'Null' is not a subtype of type 'Function'
as of now i've handled it in our project by explicitly checking callee value in this way
final callee = eval(expression.callee, context); if (callee == null) { return; } return evalCallExpression(expression, context);
The text was updated successfully, but these errors were encountered:
No branches or pull requests
expressions/lib/src/evaluator.dart
Line 118 in 4f9dcb2
add a null check here.
if value of
callee
evaluates tonull
then it throws an exception statingtype 'Null' is not a subtype of type 'Function'
as of now i've handled it in our project by explicitly checking callee value in this way
The text was updated successfully, but these errors were encountered: