Add a test structure causing the «loop bug» fixed by 70bcc60ed5

This commit is contained in:
Tissevert 2020-05-21 18:05:59 +02:00
parent 9b5a187344
commit 3d7403419c
5 changed files with 23 additions and 0 deletions

5
tests/q/A.js Normal file
View file

@ -0,0 +1,5 @@
import B;
return {
s: 'a' + B.s;
};

5
tests/q/B.js Normal file
View file

@ -0,0 +1,5 @@
import C;
return {
s: 'b' + C.s
};

5
tests/q/C.js Normal file
View file

@ -0,0 +1,5 @@
import D;
return {
s: 'c' + D.s
}

5
tests/q/D.js Normal file
View file

@ -0,0 +1,5 @@
import B;
return {
s: 'd' + B.s
}

3
tests/q/Main.js Normal file
View file

@ -0,0 +1,3 @@
import A;
console.log(A.s);