Skip to content

Conversation

@patrick96
Copy link
Member

As described in #783 using the following inside your config would result in a
segfault:

background = ${self.background}

This PR fixes this.

Right now general circular dependencies like the following are not handled, as
they require keeping track path that was taken while resolving the variable.

[colors]
c1 = ${colors.c2}
c2 = ${colors.c1}

Fixed #783

Before definining
background = ${self.background}
in your config, resulted in an infinite recursion and eventually in a
segfault.

This doesn't handle more complex circular dependencies
@patrick96 patrick96 mentioned this pull request May 15, 2018
19 tasks
@patrick96 patrick96 marked this pull request as draft October 26, 2020 10:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Self referenced colours caused a segfault

1 participant