You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Note that it ignores the first parameter, and binds the second parameter to isRecursive. However, in the definition of LetOrUse, the first parameter is named isRecursive. The second one is isUse.
While experimenting with AST traversal for a new linter and looking through existing traversal code in FCS, I came across this line:
fsharp/src/Compiler/Service/ServiceParseTreeWalk.fs
Line 597 in 812bf3d
Note that it ignores the first parameter, and binds the second parameter to
isRecursive
. However, in the definition ofLetOrUse
, the first parameter is namedisRecursive
. The second one isisUse
.fsharp/src/Compiler/SyntaxTree/SyntaxTree.fs
Line 577 in 812bf3d
This indicates a bug somewhere. I am incluned to think it's in
ServiceParseTreeWalk.fs
.The text was updated successfully, but these errors were encountered: