Reviving the conditional example

This commit is contained in:
2019-04-30 16:00:50 -06:00
parent 35d259ce0c
commit def95d773e
5 changed files with 10 additions and 3 deletions

View File

@@ -0,0 +1,3 @@
Debug mode!
debug mode
This is the secret debug ending!

View File

@@ -0,0 +1,18 @@
{if (DEBUG) "Debug mode!"}
{if (!DEBUG) "Not debug mode" else "debug mode"}
// Make sure flow can fall through embedded blocks
```
if (DEBUG) {
, -> debug_only_section
}
else {
, This will fall through!
}
```
This is the production ending!
== debug_only_section
This is the secret debug ending!

View File

@@ -0,0 +1,3 @@
Not debug mode
This will fall through!
This is the production ending!