kevinlawler / kona

Open-source implementation of the K programming language
ISC License
1.36k stars 138 forks source link

a:3; a #502

Closed tavmem closed 6 years ago

tavmem commented 6 years ago

I'm guessing that this must be a regression. In kona:

$ rlwrap ~/kona/k
K Console - Enter \ for help
  a:3; a

In k2.8

$ rlwrap ~/k2.8/k
K 2.8 2000-10-10 Copyright (C) 1993-2000 Kx Systems
Evaluation. Not for commercial use. 
\ for help. \\ to exit.
  a:3; a
3
tavmem commented 6 years ago

This regression was caused by commit 0e6351523ba28def719fe44f1c994764ea57ac02 made on Aug 10, 2017.

tavmem commented 6 years ago
$ rlwrap -n ~/kona/k
K Console - Enter \ for help
  a:3;a
3
  a:3+2;a
5
  a:3+2;a;
  a:7
  a
7
  a;