Open Kamholtz opened 1 year ago
So I think this is a Fennel bug, if it's fixed upstream I'll update the internal fennel compiler and it should get fixed.
$ fennel
Welcome to Fennel 1.3.0 on PUC Lua 5.4!
Use ,help to see available commands.
Try installing readline via luarocks for a better repl experience.
>> (comment [["a"]])
Bad code generated - likely a bug with the compiler:
--- Generated Lua Start ---
--[[ [["a"]] ]]
return nil--- Generated Lua End ---
Ah so it is. Here's the official issue:
Problem
Command issued:
:AniseedEval (comment [[ "a"]])
Error message:
Similarly:
Command:
AniseedEval (comment {1 {1 "a"}})
Error message:
Info
I happened to encounter this while using conjure to evaluate a file containing a form like the following:
But it appears to be a problem in Aniseed too. Both Aniseed and Conjure are the latest release on master.