forked from M-Labs/artiq
1
0
Fork 0

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
1 changed files with 2 additions and 0 deletions

View File

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