kevinlawler / kona

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

Local variables are being added to symbol table as globals #562

Closed tavmem closed 4 years ago

tavmem commented 4 years ago
K 2.8 2000-10-10 Copyright (C) 1993-2000 Kx Systems
\ for help. \\ to exit.

  f:{x+y+z}
  f[1;2;3]
6
  \v
f
kona      \ for help. \\ to exit.

  f:{x+y+z}
  f[1;2;3]
6
  \v
`f `x `y `z

  x~_n
1
  y~_n
1
  z~_n
1

x, y and z are null

tavmem commented 4 years ago

After commit noted above

kona      \ for help. \\ to exit.

  {x+y+z}[1;2;3]
6
  \v