Closed anthonyyoud closed 11 years ago
Oh man! Deciding what code can be reached is really hard, so I humbly request you think of a work around.
Can I close this as "not going to fix"?
Yes from me
From: Christian Perfect [mailto:notifications@github.com] Sent: 27 August 2013 11:18 AM To: numbas/editor Subject: Re: [editor] Circular dependencies that are not circular (#163)
Can I close this as "not going to fix"?
— Reply to this email directly or view it on GitHubhttps://github.com/numbas/editor/issues/163#issuecomment-23325760.
Yes.
On 27/08/13 11:19, Bill Foster wrote:
Yes from me
From: Christian Perfect [mailto:notifications@github.com] Sent: 27 August 2013 11:18 AM To: numbas/editor Subject: Re: [editor] Circular dependencies that are not circular (#163)
Can I close this as "not going to fix"?
— Reply to this email directly or view it on GitHubhttps://github.com/numbas/editor/issues/163#issuecomment-23325760.
— Reply to this email directly or view it on GitHub https://github.com/numbas/editor/issues/163#issuecomment-23325827.
Given the following variables:
the editor reports errors computing the referenced variables
a
andb
. This is becausea
referencesb
and vice-versa, but the clauses of theswitch
statement will never give rise to a circular dependency.This is obviously a trivial minimal example of the issue, and it could be worked around by defining more variables.
Perhaps circular dependencies should only be checked for within the relevant clauses of
switch
andif
statements?