-
Notifications
You must be signed in to change notification settings - Fork 354
Check if predicate contains scope reference #2863
New issue
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
base: main
Are you sure you want to change the base?
Conversation
cd436ac to
9ce9887
Compare
src/libraries/Microsoft.PowerFx.Core/Functions/FunctionScopeInfo.cs
Outdated
Show resolved
Hide resolved
|
✅ No public API change. #Resolved |
...s/Microsoft.PowerFx.Core.Tests.Shared/AssociatedDataSourcesTests/TestDelegationValidation.cs
Outdated
Show resolved
Hide resolved
b81a987 to
f452aaa
Compare
|
✅ No public API change. #Resolved |
1 similar comment
|
✅ No public API change. #Resolved |
0874948 to
16a12da
Compare
|
✅ No public API change. #Resolved |
|
✅ No public API change. #Closed |
|
✅ No public API change. #Closed |
CarlosFigueiraMSFT
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
![]()
MikeStall
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
![]()
a279f20
|
✅ No public API change. #Closed |
a279f20 to
d387f0c
Compare
|
✅ No public API change. #Closed |
| !node.Args.ChildNodes.Any(child => child is ErrorNode) && | ||
| TryGetCall(node.Id, out var callInfo)) | ||
| { | ||
| //func.ScopeInfo.CheckPredicateFields(GetUsedScopeFields(callInfo), node, GetLambdaParamNames(callInfo.ScopeNest + 1), ErrorContainer); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
d387f0c to
fbe58c8
Compare
|
✅ No public API change. |
Issue #2795.
The original issue was meant to check
Joinfunction predicate. I'm expanding the analysis.This pull request introduces several changes to improve error handling and predicate checking in the Microsoft PowerFx library. The most significant changes include adding severity-based error checking and modifying function scope checking.