Fix type of parameter not being adjusted after optimizing parameter.

This commit is contained in:
Sei Lisa 2016-12-21 05:44:32 +01:00
parent 5105cee2e4
commit 27eeec06cf

View file

@ -41,3 +41,4 @@ def OptimizeParams(node, sym):
if params[i]['nt'] == 'CONST':
if not lslfuncs.cond(Key(params[i]['value'])):
params[i]['value'] = u""
params[i]['type'] = 'string'