(Object #:row-var r) should be allowed
Nobody has claimed this yet.
- Dominant language
- Racket
- Stars
- 575
- Forks
- 106
- Avg merge
- 2h 1m
- Merged PRs (30d)
- 2
Description
What version of Racket are you using?
6.9.0.4
What program did you run?
(:type (All (r #:row) (Instance (Class #:row-var r))))
(:type (All (r #:row) (Object #:row-var r)))
What should have happened?
The first line prints the type (All (r #:row) (Object #:row-var r)). However, that type cannot be parsed back, as Object does not accept the #:row-var clause.
I suppose Object should allow #:row-var, and its documentation should be updated accordingly.
If you got an error message, please include it here.
Object: expected Object type clause in: (Object #:row-var r)
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by running the two type expressions from the issue and reproducing the Object clause error. Trace the parser or type-definition entry point for Object, then check the related documentation. Done means Object accepts #:row-var consistently with Class and the documentation describes the supported clause.
Written by the indexing model from the issue text.
Assessment
- Domain
- compilers, documentation
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100