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
Basically imports create a graph of dependencies between source files. Currently if you have a cycle in that graph the compiler will hang and crash with out of memory.
Quick fix: display an error message if a cyclic dependency has been found
Better fix: parse import statements, put them into a graph, do a topological sort on that graph, and include files in that order.
The text was updated successfully, but these errors were encountered:
Basically imports create a graph of dependencies between source files. Currently if you have a cycle in that graph the compiler will hang and crash with out of memory.
Quick fix: display an error message if a cyclic dependency has been found
Better fix: parse import statements, put them into a graph, do a topological sort on that graph, and include files in that order.
The text was updated successfully, but these errors were encountered: