summaryrefslogtreecommitdiff
path: root/tests/specs/compile/repetitive_unstable_flag/main.ts
diff options
context:
space:
mode:
authorHasanAlrimawi <141642411+HasanAlrimawi@users.noreply.github.com>2024-07-03 02:15:10 +0300
committerGitHub <noreply@github.com>2024-07-02 23:15:10 +0000
commit3324d7203e8d00bb39cfae104e0aec61ba954e9b (patch)
treed5d2b612bca91fd8d5045ca4326c5ff12fcb51dd /tests/specs/compile/repetitive_unstable_flag/main.ts
parent7d919f6fd980ed54785e86892a518f0bdf68f475 (diff)
fix(compile): prevent setting unstable feature twice (#24381)
Prevent panic when enabling a feature that is already enabled by removing duplicate features. Closes #22015 --------- Co-authored-by: Bartek IwaƄczuk <biwanczuk@gmail.com>
Diffstat (limited to 'tests/specs/compile/repetitive_unstable_flag/main.ts')
-rw-r--r--tests/specs/compile/repetitive_unstable_flag/main.ts1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/specs/compile/repetitive_unstable_flag/main.ts b/tests/specs/compile/repetitive_unstable_flag/main.ts
new file mode 100644
index 000000000..c45100cfd
--- /dev/null
+++ b/tests/specs/compile/repetitive_unstable_flag/main.ts
@@ -0,0 +1 @@
+console.log("Duplicate unstable feature issue is resolved as you can see");