-
Notifications
You must be signed in to change notification settings - Fork 2
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
Replace libdparse in UnusedResultChecker #80
Replace libdparse in UnusedResultChecker #80
Conversation
c437932
to
fa13c74
Compare
820a5a8
to
2bf728f
Compare
80feb1d
to
8e1fb81
Compare
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.
It seems that you are modifying the tests extensively. Could you please provide an explanation on why that is the case?
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.
The code is too complex for what we need to do. Refactor by using a single visitation method for statements that calls super.visit
.
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.
The implementation is OK, now that I better understand what you are doing. But please mind the tests.
[DO NOT MERGE] I think one unit test has been slightly modified after the rebase from Upstream D-scanner. I'll do an extra verification and make sure everything is OK - in the meantime please do not merge this PR |
The unit tests have changed in the upstream in the last year - that's why the big diff on unit test. Will update & fix |
Fixed |
bb74e35
to
cd7aad2
Compare
This issue is in the 'Ready for review' queue, however, it seems there are unaddressed issues. Can you clarify whether this is ready for review or not? |
cd7aad2
to
d92d69c
Compare
Ready for review |
I find it kind of weird that this is passing all tests (including testing phobos) since you essentially need to perform semantic analysis for this check to work properly and it seems that you are only doing semantic when testing unittests. Is that right? |
Mind the conflict. |
ping |
On hold for now. |
d92d69c
to
f95254e
Compare
f95254e
to
44cfa26
Compare
|
||
public: | ||
private template VisitAggregate(NodeType) |
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.
This is necessary in order to keep the exact same behavior as the previous implementation with libdparse
#74 cont