Skip to content
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

Fixes for bugs encoutered when proof-reading Romain's blog post #13

Merged
merged 2 commits into from
Oct 25, 2024

Conversation

ClotildeToullec
Copy link
Member

  • Remove reference to FamixTParameterizedType
  • Deal with invocations that do not have a source anchor. Please review this before merging, I am not sure this fix is right.

Parametric classes inherit from class now.
+ Deal with empty source anchors. Not sure the default 0 value is correct.
@coveralls
Copy link

Pull Request Test Coverage Report for Build 11278299554

Details

  • 27 of 27 (100.0%) changed or added relevant lines in 1 file are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage increased (+0.02%) to 95.413%

Totals Coverage Status
Change from base Build 10109216589: 0.02%
Covered Lines: 1789
Relevant Lines: 1875

💛 - Coveralls

Copy link
Member

@badetitou badetitou left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think there is a missing test to implement

CRFBinderVisitor >> determineAttributeWithName: aVariableName fromFamixEntity: aFamixEntity [

((((aFamixEntity allAtAnyScope: {
FamixTParameterizedType.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why removing FamixTPArameterizedType? Maybe it has been rename?
It is strange that no tests fails for that... I suggest to first try to have a look at this

@badetitou
Copy link
Member

After re looking at this issue. It is more a problem of version between Moose11 and Moose12. Ok to start a v6 with Moose 12 support

@badetitou
Copy link
Member

Oo. I tested and it also works with Moose 11... I'm completely puzzled... tests are the most important stuff
go for it

@badetitou badetitou merged commit bf64409 into v5 Oct 25, 2024
1 check passed
@badetitou badetitou deleted the bugs-in-blogpost branch October 25, 2024 11:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants