You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
chore: resolve open CodeRabbit thread on PR #5311 (scratch warning hook placement) #5333
PR #5311 merged with one CodeRabbit thread on src/fl/stl/scratch.h still unresolved. It asked to move the scratch warning hook into an .impl.hpp, but the repo's lint forbids including an .impl.hpp from a header, and the thread explains this.
To do: a maintainer should review and resolve the thread, or pick another placement.
Resolved the thread (r4641686509) on #5311. Its suggestion was to move the scratch_exhausted hook into a .impl.hpp included from scratch.h. That fails three repo lint rules: ImplHppIncludesChecker, IncludeAfterNamespaceChecker and NamespaceIncludesChecker. The other option, a .cpp.hpp, would need a unity-router registration, which the PR deliberately dropped. So the hook stays a single FL_NO_INLINE inline definition in scratch.h, as explained in the thread reply. Reopen and unresolve if you'd prefer a different placement.
Activity
zackees commentedon Nov 21, 2026
Resolved the thread (r4641686509) on #5311. Its suggestion was to move the
scratch_exhaustedhook into a.impl.hppincluded fromscratch.h. That fails three repo lint rules: ImplHppIncludesChecker, IncludeAfterNamespaceChecker and NamespaceIncludesChecker. The other option, a.cpp.hpp, would need a unity-router registration, which the PR deliberately dropped. So the hook stays a singleFL_NO_INLINE inlinedefinition inscratch.h, as explained in the thread reply. Reopen and unresolve if you'd prefer a different placement.