From 3d7403419c4125159d3d0f6862b02ab3b2c2142c Mon Sep 17 00:00:00 2001 From: Tissevert Date: Thu, 21 May 2020 18:05:59 +0200 Subject: [PATCH] =?UTF-8?q?Add=20a=20test=20structure=20causing=20the=20?= =?UTF-8?q?=C2=ABloop=20bug=C2=BB=20fixed=20by=2070bcc60ed5b?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- tests/q/A.js | 5 +++++ tests/q/B.js | 5 +++++ tests/q/C.js | 5 +++++ tests/q/D.js | 5 +++++ tests/q/Main.js | 3 +++ 5 files changed, 23 insertions(+) create mode 100644 tests/q/A.js create mode 100644 tests/q/B.js create mode 100644 tests/q/C.js create mode 100644 tests/q/D.js create mode 100644 tests/q/Main.js diff --git a/tests/q/A.js b/tests/q/A.js new file mode 100644 index 0000000..b09c91d --- /dev/null +++ b/tests/q/A.js @@ -0,0 +1,5 @@ +import B; + +return { + s: 'a' + B.s; +}; diff --git a/tests/q/B.js b/tests/q/B.js new file mode 100644 index 0000000..0a5d695 --- /dev/null +++ b/tests/q/B.js @@ -0,0 +1,5 @@ +import C; + +return { + s: 'b' + C.s +}; diff --git a/tests/q/C.js b/tests/q/C.js new file mode 100644 index 0000000..27b95a4 --- /dev/null +++ b/tests/q/C.js @@ -0,0 +1,5 @@ +import D; + +return { + s: 'c' + D.s +} diff --git a/tests/q/D.js b/tests/q/D.js new file mode 100644 index 0000000..2c246be --- /dev/null +++ b/tests/q/D.js @@ -0,0 +1,5 @@ +import B; + +return { + s: 'd' + B.s +} diff --git a/tests/q/Main.js b/tests/q/Main.js new file mode 100644 index 0000000..eb47b96 --- /dev/null +++ b/tests/q/Main.js @@ -0,0 +1,3 @@ +import A; + +console.log(A.s);