Inverted syntax: Difference between revisions
Content added Content deleted
m (→{{header|Wren}}: Changed to Wren S/H) |
|||
Line 1,477: | Line 1,477: | ||
Again, simulating inverted syntax with assignment is not possible. |
Again, simulating inverted syntax with assignment is not possible. |
||
<syntaxhighlight lang=" |
<syntaxhighlight lang="wren">class IBool { |
||
construct new(b) { |
construct new(b) { |
||
if (!(b is Bool)) Fiber.abort("B must be a boolean") |
if (!(b is Bool)) Fiber.abort("B must be a boolean") |