-
Notifications
You must be signed in to change notification settings - Fork 623
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix: nasl-interpreter: string handling in operation
When a string is added to a number, the number should be casted to a string and not the string to number. For example: 1 + "" + 3 should return "13" and not 5.
- Loading branch information
1 parent
adaa4b2
commit ac9a5d5
Showing
1 changed file
with
47 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters