aboutsummaryrefslogtreecommitdiffstats
path: root/docs/julia.rst
diff options
context:
space:
mode:
authorchriseth <chris@ethereum.org>2017-11-24 01:52:04 +0800
committerchriseth <chris@ethereum.org>2017-11-24 01:52:04 +0800
commit1d91b65b726d4757b866124d75834f28a9bc9eb9 (patch)
tree049d990547390147c3a135ac1c38d75c88024c32 /docs/julia.rst
parent9232cd2621113dac43829b7f0dd37f791526f0b4 (diff)
downloaddexon-solidity-1d91b65b726d4757b866124d75834f28a9bc9eb9.tar
dexon-solidity-1d91b65b726d4757b866124d75834f28a9bc9eb9.tar.gz
dexon-solidity-1d91b65b726d4757b866124d75834f28a9bc9eb9.tar.bz2
dexon-solidity-1d91b65b726d4757b866124d75834f28a9bc9eb9.tar.lz
dexon-solidity-1d91b65b726d4757b866124d75834f28a9bc9eb9.tar.xz
dexon-solidity-1d91b65b726d4757b866124d75834f28a9bc9eb9.tar.zst
dexon-solidity-1d91b65b726d4757b866124d75834f28a9bc9eb9.zip
Force condition to be bool in iulia mode.
Diffstat (limited to 'docs/julia.rst')
-rw-r--r--docs/julia.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/julia.rst b/docs/julia.rst
index 014cd00b..309e6b36 100644
--- a/docs/julia.rst
+++ b/docs/julia.rst
@@ -252,7 +252,7 @@ We will use a destructuring notation for the AST nodes.
G, L, continue
E(G, L, <if condition body>: If) =
let G0, L0, v = E(G, L, condition)
- if v is true or non-zero:
+ if v is true:
E(G0, L0, body)
else:
G0, L0, regular