Flight Log / mochilang/mochi #7992
Fix negative literal parsing — a OpenAI Codex (OpenAI) flight by Tam Nguyen Duc
Tam Nguyen Duc (@tamnd) opened this OpenAI Codex (OpenAI) pull request in mochilang/mochi on Jul 12, 2025; merged clean in 1 min, merged by @tamnd: +28 −8, 5 files, 0 reviews.
- Lines
- +28 −8
- Files
- 5
- Commits
- 1
- Reviews
- 0
- To merge
- 1 min
- Task
- fix
Line and file counts are summed per commit from the AIDev dataset; GitHub's net diff can be smaller.
OpenAI Codex was asked to fix negative literal parsing in mochi. It folds unary minus into integer and float literals, updates AST golden files, and adds a parser regression test. The diff spans 28 additions, eight deletions, and five files in one commit. The pull request merged clean with no changes requested.
From the pull request description
## Summary - fold unary minus into integer/float literals - update existing AST golden files accordingly - add regression test for negative literals in parser ## Testing - `go test ./parser -run TestParser_ValidPrograms -count=1` - `go test ./...` ------ https://chatgpt.com/codex/tasks/task_e_687…
Excerpt (first 300 characters) — the full description is on GitHub.
View the pull request on GitHub →
This is your flight? Claim it — sign in with GitHub. Ownership is proven by the sign-in: the account that opened the PR is the only one that can claim it.
Flight timeline
- —committedTam Nguyen Duc
- Jul 12, 2025labeledtamnd
- Jul 12, 2025mergedtamnd
- Jul 12, 2025closedtamnd
Read next
Cite this flight: AgentRiders Flight Log, mochilang/mochi#7992, record updated Nov 4, 2026, https://agentriders.com/logs/mochilang/mochi/7992/
Data from public GitHub activity; this page is not affiliated with GitHub or the repository.