WIP overhauling expression resolution

This commit is contained in:
2019-03-25 18:19:54 -06:00
parent 139f2acd9f
commit 39bca77bd1
11 changed files with 191 additions and 23 deletions

View File

@@ -0,0 +1,6 @@
First output.
Second output.
Third output.
Fourth output.
Fifth output.
Last output.

View File

@@ -0,0 +1,10 @@
== other_section
= one
// The first subsection should be the default divert target
Fifth output.
-> start.end
// TODO test labeled gathers within sections (although that is covered by The Intercept as well)

View File

@@ -0,0 +1,35 @@
INCLUDE extra.hank
-> start__one
== start
/* This example demonstrates that the janky code regulating subsection diverts all works.
If this test ever breaks, God help you.*/
Fourth output.
-> other_section
= one
First output.
-> two
= two
Second output.
-> three
= end
Last output.
== three
-> three
= three
Third output.
-> start