Skip to content

Commit 89c878b

Browse files
transclaude
andcommitted
Add TODO with known issues
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent ef7b4c6 commit 89c878b

1 file changed

Lines changed: 16 additions & 0 deletions

File tree

TODO.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
# TODO
2+
3+
## Known Issues
4+
5+
- **Global `$skip` variable** (overload.rb) — Used to prevent recursive
6+
`method_added` triggers during overload setup. Works but is fragile.
7+
Fixing properly would require rethinking the `method_added` hook.
8+
9+
- **No keyword argument support in overload dispatch** (overload.rb:57) —
10+
The dispatch method uses `|*args|` which swallows kwargs on Ruby 3.
11+
Since Platypus dispatches on positional argument types, kwargs aren't
12+
part of the current design. Adding support would be a feature addition.
13+
14+
- **`Type::Conditions` uses old blank slate pattern** (type.rb:88) —
15+
Privatizes all methods except `__` prefixed ones. Works on Ruby 3
16+
but could be modernized to use `BasicObject`.

0 commit comments

Comments
 (0)