Euphoria Ticket #409: Head() does not handle alter in place correctly

The Head() function in be_runtime.c does not correctly deal with cases like:

s = remove( s, length( s ) ) 

It does not detect that the target is the sequence being operated on.

Details

Type: Bug Report Severity: Normal Category: Language
Assigned To: mattlewis Status: Fixed Reported Release: 4196
Fixed in SVN #: 4197, 4198 View VCS: 4197, 4198 Milestone: 4.0.0RC2

1. Comment by mattlewis Nov 18, 2010

The comparison was wrong. Also, the length and postscript handling were incorrect.

Search



Quick Links

User menu

Not signed in.

Misc Menu