Skip to content

Factor out comment-searching code#94

Merged
Smaug123 merged 3 commits intoG-Research:mainfrom
Smaug123:comments
Aug 27, 2025
Merged

Factor out comment-searching code#94
Smaug123 merged 3 commits intoG-Research:mainfrom
Smaug123:comments

Conversation

@Smaug123
Copy link
Contributor

I have written another analyzer which also wants this functionality, so here's a standalone PR that factors it out.

This change is breaking, but hopefully in a fairly obvious way (the changed magic string, which makes the factored function simpler by only having to consider one string).

</PropertyGroup>
<ItemGroup>
<Compile Include="Util.fs" />
<Compile Include="Comments.fs" />
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Not a great name, I guess.

@nojaf
Copy link
Member

nojaf commented Aug 27, 2025

Could you update the docs as well?

Copy link
Member

@nojaf nojaf left a comment

Choose a reason for hiding this comment

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

Looks good!

@Smaug123
Copy link
Contributor Author

I've already started to rely on having a bot tell me to do changes like those docs changes! I wonder if it's worth me putting a CLAUDE.md in this repo; internal GR automation would have caught the docs problem, and I'm wondering how to approximate that out here.

@Smaug123 Smaug123 merged commit 12a7edc into G-Research:main Aug 27, 2025
1 check passed
@Smaug123 Smaug123 deleted the comments branch August 27, 2025 11:20
@nojaf
Copy link
Member

nojaf commented Aug 27, 2025

Would not opposite it. Poke me on the inside on what you are cooking, curious to hear more about the internal GR automation.

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