You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is surprising and seems broken. I eventually figured out that, since hasktags defaults to generating both ctags and etags (-b is default), with -o- it first outputs one, and then tries to output the other. Apparently the output of the first ends by closing stdout, so the output of the second one fails.
The workaround is to use -c or -e. But I think it would probably make sense to make -b not be the default when using -o. As it is, -o foo first writes the ctags to foo, then overwrites that file with the etags.
The text was updated successfully, but these errors were encountered:
This is surprising and seems broken. I eventually figured out that, since hasktags defaults to generating both ctags and etags (-b is default), with -o- it first outputs one, and then tries to output the other. Apparently the output of the first ends by closing stdout, so the output of the second one fails.
The workaround is to use -c or -e. But I think it would probably make sense to make -b not be the default when using -o. As it is, -o foo first writes the ctags to foo, then overwrites that file with the etags.
The text was updated successfully, but these errors were encountered: