From: Andras S. <as...@ma...> - 2007-01-22 20:42:38
|
Juho Snellman <js...@ik...> writes: > Andras Simon <as...@ma...> writes: > > > Macroexpanding the form > > > > (loop with foo of-type (single-float 1.0 2.0) = 1.5) > > > > fails with > > > > 0 can't be converted to type (SINGLE-FLOAT 1.0 2.0). > > [Condition of type SIMPLE-TYPE-ERROR] > > > > Where does this 0 come from? > > From LOOP-TYPED-INIT (in src/code/loop.lisp). OK, thanks, now I see where but not why, when the local variable is initialized by the user. Is this a bug or a DWIM thing (sometimes it's hard to tell those apart) or something else? Andras |