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
When analyzing this template a recursive loop exception is raised.
# sortNumber(number, divisor)
> Return a string with leading zeros out to divisor
- ${if(divisor == 1,
string(number),
concat(string(div(number, divisor)), sortNumber(mod(number, divisor), div(divisor, 10))))}
Expected behavior
sortNumber should list itself as one of the templates it uses and there should be no exception.
The text was updated successfully, but these errors were encountered:
chrimc62
added
bug
Indicates an unexpected problem or an unintended behavior.
Area: LG
Language generation issues
needs-triage
The issue has just been created and it has not been reviewed by the team.
labels
Jun 23, 2021
@chrimc62 You have created the same issue before: #3619, and we fixed it in #3621 two months ago. But the change would appears in 4.14 version.
Could you take a look and make sure it meets your requirements.
Versions
Package: 4.13.6
Node: 12.19.1
Describe the bug
When analyzing this template a recursive loop exception is raised.
Expected behavior
sortNumber should list itself as one of the templates it uses and there should be no exception.
The text was updated successfully, but these errors were encountered: