2
0
mirror of https://github.com/m-labs/artiq.git synced 2025-01-26 18:38:13 +08:00

compiler/tools/eval_constant: raise NotConstant on calls

This commit is contained in:
Sebastien Bourdeauducq 2014-08-18 23:11:27 +08:00
parent b1598ba659
commit 24544f2758

View File

@ -57,5 +57,7 @@ def eval_constant(node):
except:
raise NotConstant
return units.Quantity(amount, unit)
else:
raise NotConstant
else:
raise NotConstant