Actions
Bug #3657
closed{ } curly brackets is not always parsed correctly
Start date:
07/31/2017
Due date:
% Done:
0%
Estimated time:
Operative System:
All
Regression:
No
Description
Hello,
There is an odd bug, If you create an file and place the below code and execute the $isalias() to check if that alias exist it returns $false for an unknown reason.
Example Code: (Full code url: http://www.mpaste.com/p/EorVuOi)
alias test1 { return 1 }
alias -l jfm_jscript {
jfm_badd $1 H.prototype={
}
alias test2 { return 2 }
When executing : //echo a IS: $isalias(test1) - $isalias(test2) the "test2" alias flagged as $false but it shouldn't because exists.
- Thanks!
Updated by Per Amundsen over 7 years ago
- Subject changed from $isalias() return $false incorrectly sometimes to { } curly brackets is not always parsed correctly
- Description updated (diff)
- Status changed from New to Resolved
Not related to $isalias, I updated the example and title to reflect the real issue.
Actions