Skip to content

Fix issues found by OpenCode#33

Merged
frerich merged 7 commits intomainfrom
fix-docs
May 1, 2026
Merged

Fix issues found by OpenCode#33
frerich merged 7 commits intomainfrom
fix-docs

Conversation

@frerich
Copy link
Copy Markdown
Owner

@frerich frerich commented May 1, 2026

No description provided.

frerich added 7 commits May 1, 2026 22:28
All courtesy of OpenCode Zen.
A copy & paste error, I presume: this test case is meant to exercise
`remove/2`!
There is no `PgLargeObject.LargeObject.open/1` function: the module is
called `PgLargeObjects` (plural!), and the function takes at least two
arguments.

There was also a small grammar mistake, an "a" missing.
This admonition mentioned `Enum.size/1` -- but then never actually
talked about it. Instead, it's about contrasting `Enum.count/1` with
`LargeObject.size/1`.
In case the recursive `import/3` or `export/3` call raises, the outer
call would never call `StringIO.close/1`. Ensure that this happens by
using try/after.
@frerich frerich merged commit 1d03928 into main May 1, 2026
4 checks passed
@frerich frerich deleted the fix-docs branch May 1, 2026 21:09
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.

1 participant