Fixing List sortBy bug
commit7ec5896666bb936a98d26da86270956d4e97d481
authorJonathan Wright <jonathan@quag.geek.nz>
Fri, 1 Jun 2007 11:14:02 +0000 (1 23:14 +1200)
committerJonathan Wright <jonathan@quag.geek.nz>
Fri, 1 Jun 2007 11:53:05 +0000 (1 23:53 +1200)
tree198e58c63805aef6989dc9587ff38da565444bbf
parentd33658b0c885e925bd1219efa23f38fd85a57ea4
Fixing List sortBy bug

  Io> list(3,1) sortBy(block(x, y, x < y))
  ==> list(3, 1)

  Io> list(3) sortBy(block(x, y, x < y))
  Exception: List does not respond to '[unnamed]'

  Io> list sortBy(block(x, y, x < y))
  Exception: List does not respond to '[unnamed]'
libs/basekit/source/Sorting.c
libs/iovm/tests/ListSchwartzianTest.io [new file with mode: 0644]
libs/iovm/tests/ListTest.io