Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

Including the same template multiple times may cause an error #116

Closed
bminer opened this Issue Jan 4, 2013 · 1 comment

Comments

Projects
None yet
1 participant
Owner

bminer commented Jan 4, 2013

Including the same template multiple times may cause a Landmark conflict. At this time, there is no way for Blade to insert branch labels when including files, since the included file may need to modify a previously defined block.

@ghost ghost assigned bminer Jan 4, 2013

Owner

bminer commented Jan 4, 2013

This can be fixed. Files that don't create or modify blocks (which should be determined at compile-time) can be wrapped in a branch label. Otherwise, the files cannot be wrapped in branch labels and should also not allow preserve or constant blocks.

@bminer bminer closed this in d28c5a7 Jan 8, 2013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment