--* From postmaster%watson.vnet.ibm.com@yktvmv.watson.ibm.com  Tue Aug  3 12:14:43 1993
--* Received: from yktvmv2.watson.ibm.com by radical.watson.ibm.com (AIX 3.2/UCB 5.64/900524)
--*           id AA15959; Tue, 3 Aug 1993 12:14:43 -0400
--* X-External-Networks: yes
--* Received: from watson.vnet.ibm.com by yktvmv.watson.ibm.com (IBM VM SMTP V2R3)
--*    with BSMTP id 8215; Tue, 27 Jul 93 11:32:55 EDT
--* Received: from YKTVMV by watson.vnet.ibm.com with "VAGENT.V1.0"
--*           id <A.SANTAS.NOTE.YKTVMV.1203.Jul.27.11:32:54.-0400>
--*           for asbugs@watson; Tue, 27 Jul 93 11:32:55 -0400
--* Received: from bernina.ethz.ch by watson.ibm.com (IBM VM SMTP V2R3) with TCP;
--*    Tue, 27 Jul 93 11:32:53 EDT
--* Received: from neptune by bernina.ethz.ch with SMTP inbound id <1624-0@bernina.ethz.ch>; Tue, 27 Jul 1993 17:32:42 +0200
--* From: Philip Santas <santas@inf.ethz.ch>
--* Received: from rutishauser.inf.ethz.ch (rutishauser-gw.inf.ethz.ch) by neptune id AA04339; Tue, 27 Jul 93 17:32:39 +0200
--* Date: Tue, 27 Jul 93 17:32:37 +0200
--* Message-Id: <9307271532.AA09707@rutishauser.inf.ethz.ch>
--* Received: from ru7.inf.ethz.ch.rutishauser by rutishauser.inf.ethz.ch id AA09707; Tue, 27 Jul 93 17:32:37 +0200
--* To: asbugs@watson.ibm.com
--* Subject: compiler changes order of evaluation / local variables influence outer scope
--* Cc: bronstein, jenks@watson.ibm.com

--@ Fixed  by:  SSD   Wed Jun 29 16:52:42 EDT 1994 
--@ Tested by:  none 
--@ Summary:    Both programs return 10 for x in v0.36.0. 


More on the previous bug:

The first program here returns 11 the second 10.
They should both return 10.

Philip

---------------------------------
x := 1 + 2 +
     y := 3
     y +
       y where y := 4

print(x)()(y)()

---------------------------------
x := 1 + 2 +
     y := 3
     y +
       y
       y where y := 4

print(x)()(y)()
----------------------------------

 
