File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
docs/docs/reference/metaprogramming Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -221,9 +221,9 @@ final val one: 1 = zero() + 1
221221
222222## Inline Conditionals
223223
224- If the condition of an if-then-else expressions is a constant, the expression simplifies to
225- the selected branch. Prefixing an if-then-else expression with ` inline ` forces
226- the condition to be a constant, and thus guarantees that the conditional will always
224+ If the condition of an if-then-else expressions is a constant expression then it simplifies to
225+ the selected branch. Prefixing an if-then-else expression with ` inline ` enforces that
226+ the condition has to be a constant expression , and thus guarantees that the conditional will always
227227simplify.
228228
229229Example:
You can’t perform that action at this time.
0 commit comments