We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
or
1 parent cf2f7e4 commit 56423edCopy full SHA for 56423ed
typed-racket-lib/typed-racket/base-env/prims.rkt
@@ -608,8 +608,7 @@ the typed racket language.
608
clause:for-clauses
609
a2:optional-standalone-annotation*
610
body ...) ; body is not always an expression, can be a break-clause
611
- (define a.ty (or (attribute a2.ty) (attribute a1.ty)))
612
- (unless a.ty (set! a.ty #'(Immutable-HashTable Any Any)))
+ (define a.ty (or (attribute a2.ty) (attribute a1.ty) #'(Immutable-HashTable Any Any)))
613
(quasisyntax/loc stx
614
(for/fold: : #,a.ty
615
((return-hash : #,a.ty (ann (#,hash-maker null) #,a.ty)))
0 commit comments