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

a better comment support for Slang #838

Merged
merged 25 commits into from
Aug 13, 2024

Conversation

RenaudFondeur
Copy link
Contributor

add more comment support to Slang : ensure there is a begin and end comment to every method inlined and restore lost comment. Include small changes in a lot of method executed after inlinining to make it work because of end comment.

change tests related to inlining to include comments in their result.

@RenaudFondeur RenaudFondeur reopened this Aug 12, 2024
@RenaudFondeur RenaudFondeur reopened this Aug 12, 2024
@RenaudFondeur RenaudFondeur reopened this Aug 12, 2024
@RenaudFondeur RenaudFondeur reopened this Aug 12, 2024
@guillep guillep changed the base branch from pharo-10 to pharo-12 August 12, 2024 13:18
@guillep guillep changed the base branch from pharo-12 to pharo-10 August 12, 2024 13:19
commentNode := CCommentNode new.
commentNode comment: (String streamContents: [ :s |
s space.
s nextPutAll: self comment.
Copy link
Member

Choose a reason for hiding this comment

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

nice!

Copy link
Member

@guillep guillep left a comment

Choose a reason for hiding this comment

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

Thanks!

@guillep guillep merged commit 303e7ca into pharo-project:pharo-10 Aug 13, 2024
1 of 2 checks passed
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.

2 participants