-
-
Notifications
You must be signed in to change notification settings - Fork 163
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
error message for $(( a )) doesn't have location #664
Comments
(( a ))
doesn't have location
BTW this behavior could be relaxed, e.g. hidden behind But it is probably better to get through the high priority (double star) issues on #653 before working on that. |
After fixing the location. I think the EXIT and RETURN need to be turned into associative arrays, not indexed arrays?
|
Thank you for the report! But Ah, this is caused by the format difference of bash$ builtin trap -l
1) SIGHUP 2) SIGINT 3) SIGQUIT 4) SIGILL 5) SIGTRAP
6) SIGABRT 7) SIGBUS 8) SIGFPE 9) SIGKILL 10) SIGUSR1
11) SIGSEGV 12) SIGUSR2 13) SIGPIPE 14) SIGALRM 15) SIGTERM
(snip)
osh$ builtin trap -l
EXIT
ERR
RETURN
DEBUG
1 HUP
2 INT
3 QUIT
(snip) |
14.2 Empty variables in arithmetic expressions
The second most type of warnings is this.
Originally posted by @akinomyoga in #653 (comment)
The text was updated successfully, but these errors were encountered: