bakpakin / Fennel

Lua Lisp Language
https://fennel-lang.org
MIT License
2.42k stars 124 forks source link

`,apropos-show-docs` not working #463

Closed HiPhish closed 1 year ago

HiPhish commented 1 year ago

The comma-command ,apropos-show-docs appear to be broken. Here is what I did in a fresh Fennel REPL on the command-line:

$ fennel
Welcome to Fennel 1.3.1 on PUC Lua 5.3!
Use ,help to see available commands.
>> ,apropos-show-docs scope
runtime error: bad argument #1 to 'concat' (table expected, got string)
stack traceback:
  ...uarocks/lib/luarocks/rocks-5.3/fennel/1.3.1-1/bin/fennel:720: in function ?
  ...uarocks/lib/luarocks/rocks-5.3/fennel/1.3.1-1/bin/fennel:897: in function ?
  [C]: in ?

However, the ,apropos-doc command works just fine:

>> ,apropos-doc scope
fennel/compiler.scopes.compiler.parent.specials.quote   fennel/compiler.scopes.compiler.parent.specials.require-macros  fennel/compiler.scopes.compiler.parent.specials.let fennel/compiler.scopes.compiler.parent.specials.fn  fennel/compiler.scopes.compiler.parent.specials.macros  fennel/compiler.scopes.compiler.parent.macros.match
technomancy commented 1 year ago

Good catch; thanks. Fixed this in 0e115bc.