-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Recursive import causes StackOverflow #750
Comments
Should them be disallowed? |
Yes, I believe so :) |
This can be solved by adding a new phase in library import resolving. |
How about detecting them on the fly? |
Do you mean import modules recursively in a library or import a file in |
Any stacktrace would be helpful |
The former |
I'll provide some later |
diff --git a/base/src/test/resources/success/nonsense/src/Nonsense/A.aya b/base/src/test/resources/success/nonsense/src/Nonsense/A.aya
new file mode 100644
index 000000000..44692bed3
--- /dev/null
+++ b/base/src/test/resources/success/nonsense/src/Nonsense/A.aya
@@ -0,0 +1 @@
+import Nonsense::B
\ No newline at end of file
diff --git a/base/src/test/resources/success/nonsense/src/Nonsense/B.aya b/base/src/test/resources/success/nonsense/src/Nonsense/B.aya
new file mode 100644
index 000000000..e8c2e0d9b
--- /dev/null
+++ b/base/src/test/resources/success/nonsense/src/Nonsense/B.aya
@@ -0,0 +1 @@
+import Nonsense::A |
Then, load |
Just try.
The text was updated successfully, but these errors were encountered: