Bug in ARRAY2/ARRAY3 garbage collection

Guillaume LemaĆ®tre <[email protected]> Thu, 28 Dec 2006 12:09:29 +0100
Newsgroups gmane.comp.lang.eiffel.smalleiffel
Message-ID <[email protected]>
This is a multi-part message in MIME format.
--------------090809090000090002070004
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit

   Hello

I tried to submit this bug directly to bugzilla, but the server was not 
able to send me a new password.

The following program shows the problem. It exists both for ARRAY2 and 
ARRAY3, but not for ARRAY. I'm currently using 12/27 snapshot.

Regards,
Guillaume

--------------090809090000090002070004
Content-Type: text/plain;
 name="test_array.e"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
 filename="test_array.e"

class

	TEST_ARRAY

creation

	main

feature

	main is
		local
			m : ARRAY[ STRING ]
			m2 : ARRAY2[ STRING ]
			m3 : ARRAY3[ STRING ]
		do
			from
			until false
			loop
				create m.make( 0, 3 )
				create m2.make( 0, 3, 0, 3 )
				create m3.make( 0, 3, 0, 3, 0, 3 )
			end
		end

end

--------------090809090000090002070004--