Open ice1000 opened 1 year ago
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 SingleAyaFile
?
Any stacktrace would be helpful
Do you mean import modules recursively in a library or import a file in
SingleAyaFile
?
The former
Any stacktrace would be helpful
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 nonsense/src/Nonsense/A.aya
or nonsense/src/Nonsense/B.aya
Just try.