remove_assertions
Added in 0.12.0
Parameters
Name | Type | Description | Default |
---|---|---|---|
preserve_arguments_side_effects |
| Defines how darklua handle arguments passed to the function. If true, darklua will inspect each argument and preserve any potential side effects. When false, darklua will not perform any verification and simply erase any arguments passed. |
|
This rule removes all function calls to assert
.
Examples
assert(condition, 'condition is incorrect!')
do end
Input | Output |
---|---|
|
|