Optimizer causes ambiguous identifier error on `for*/fold`
Open
@stamourv is already working on this.
Since Jul 10, 2017.
- 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.6--2017-2-22
What program did you run?
#lang typed/racket
(for*/fold ([mx 0.0+0.0i])
([_ (in-range 0 1)])
(+ (magnitude mx) 0.0+0.0i))
What should have happened?
returned 0.0+0.0i. This happens if #:no-optimize is given on the lang line
If you got an error message, please include it here.
mx: identifier's binding is ambiguous
context...:
matching binding...:
matching binding...:
matching binding...:
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.
Assessment
This issue has not been assessed yet.