Number: 1839

Date: 14-Aug-84 13':24':56

Submitter: Roach

Source: Roach

Subject: FOR loops fail when CAR/CDRERR = CDR

Assigned To: Masinter

Attn: Release

Status: Fixed

In/By: 

Problem Type: Bug

Impact: Moderate

Difficulty: 

Frequency: Everytime

Priority: Perhaps

System: Programming Environment

Subsystem: DWIM

Machine: 1108

Disk: 

Lisp Version:  7-Aug-84 15':57':18

Source Files: 

Microcode Version: 5124

Memory Size: 3071

File Server: 

Server Software Version: 

Disposition: (CAR/CDRERR=CDR works now more or less)'
["masinter" "11-Sep-84 14':18':19" Assigned% To': Attn': Status':(Open->Fixed) Disposition':]

Description: When I have CAR/CDRERR = CDR, none of these loops work':'
     (FOR I FROM 1 TO 3 COLLECT I)'
     (FOR I FROM 1 TO 3 DO (PRINT I))'
     (FOR I FROM 1 TO 3 SUM I)'
     (FOR I IN ''(1 2 3) COLLECT I)'
They all give me "ARG NOT LIST/I//(WTFIX broken)."  On the other hand, the loops'
     (FOR I IN ''(1 2 3) DO (PRINT I))'
     (FOR I IN ''(1 2 3) SUM I)'
do work.

Workaround: 

Test Case: 

Edit-By: masinter

Edit-Date: 11-Sep-84 14':18':22