From 65e7c58990f38e2e9c1a006842de7fe535a1514d Mon Sep 17 00:00:00 2001 From: Andreas Kling Date: Wed, 23 Nov 2022 12:45:58 +0100 Subject: [PATCH] LibJS: Make Script.h not include AST.h --- Userland/Libraries/LibJS/Forward.h | 1 + .../Libraries/LibJS/Runtime/RegExpLegacyStaticProperties.cpp | 1 + Userland/Libraries/LibJS/Script.h | 1 - 3 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Userland/Libraries/LibJS/Forward.h b/Userland/Libraries/LibJS/Forward.h index 4f8d562644..f38f0d7b62 100644 --- a/Userland/Libraries/LibJS/Forward.h +++ b/Userland/Libraries/LibJS/Forward.h @@ -184,6 +184,7 @@ class ObjectEnvironment; class Parser; struct ParserError; class PrimitiveString; +class Program; class PromiseCapability; class PromiseReaction; class PropertyAttributes; diff --git a/Userland/Libraries/LibJS/Runtime/RegExpLegacyStaticProperties.cpp b/Userland/Libraries/LibJS/Runtime/RegExpLegacyStaticProperties.cpp index 26f16602bb..39d10dc6de 100644 --- a/Userland/Libraries/LibJS/Runtime/RegExpLegacyStaticProperties.cpp +++ b/Userland/Libraries/LibJS/Runtime/RegExpLegacyStaticProperties.cpp @@ -4,6 +4,7 @@ * SPDX-License-Identifier: BSD-2-Clause */ +#include #include #include #include diff --git a/Userland/Libraries/LibJS/Script.h b/Userland/Libraries/LibJS/Script.h index 45f82ecc64..5998971391 100644 --- a/Userland/Libraries/LibJS/Script.h +++ b/Userland/Libraries/LibJS/Script.h @@ -7,7 +7,6 @@ #pragma once #include -#include #include #include #include