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 issue 3068 #4502

Conversation

kasperosterbye
Copy link
Contributor

It seems that the is a near solution already in the discussion of the issue.
There is a method #firstComment, which should return the first comment, while #comments should return a list of them all.
I changed the method to return an ordered collection of comments in the method.

I changed the test method to depend less on the comments in other parts of the system, and noted where it does. Obviously I made the test check if two comments can be extracted as well.

It seems that the is a near solution already in the discussion of the issue. 
There is a method #firstComment, which should return the first comment. 
I changed the method to actually return an ordered collection of comments in the method.
I changed the test method to depend less on the comments in other parts of the system, and noted where it does.
Copy link
Member

@MarcusDenker MarcusDenker left a comment

Choose a reason for hiding this comment

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

good!

@MarcusDenker MarcusDenker merged commit 6947806 into pharo-project:Pharo8.0 Sep 5, 2019
@kasperosterbye kasperosterbye deleted the 3068-comments-method-on-compiled-method-only-considered-the-method-comment branch September 5, 2019 14:21
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.

None yet

2 participants