manuel-serrano / hop

Multitier JavaScript
Other
142 stars 18 forks source link

Wizard broken in hop 3.3 #73

Closed svenha closed 4 years ago

svenha commented 4 years ago

The wizard writes an incorrect file because hop reports the following error:

File ".config/hop/hoprc.hop", line 9, character 261:
#(hop-http-authentication (quote basic))
#^
*** ERROR:eval
Wrong number of arguments: 0 expected, 1 provided  -- hop-http-authentication
1. eval, .config/hop/hoprc.hop:9

Workaround: comment out this line 9. Or something else?

svenha commented 4 years ago

@manuel-serrano This problem still exists and should be fixed in the planned release IMHO. It is now (3.3.0-pre1 from 2020-03-27) complicated by the fact that the line number reported seems to ignore comment and empty lines. So in my case, it reports line 3.

manuel-serrano commented 4 years ago

Thanks for the report. The error is now fixed.