You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is invalid because defaultFoo is declared after it is referenced in defaultBar. Consequently, we have to add a (stable) toposort to cuetsy such that its const outputs are in an acceptable order.
It'll also mean erroring on circular references, if any.
The text was updated successfully, but these errors were encountered:
sdboyer
changed the title
Add toposort to ensure cuetsy outputs are printed in valid order
Add toposort to ensure outputs are printed in valid order
May 19, 2022
Currently, cuetsy prints its outputs in alphabetical order. TS is sensitive to ordering in its constant declarations, however, meaning that this:
Is invalid because
defaultFoo
is declared after it is referenced indefaultBar
. Consequently, we have to add a (stable) toposort to cuetsy such that its const outputs are in an acceptable order.It'll also mean erroring on circular references, if any.
The text was updated successfully, but these errors were encountered: