LibJS: Include Environment.h directly in ClassFieldDefinition.h

This was previously indirectly forcing Heap/Handle.h to include it
instead. This will let us include Handle.h from PropertyKey, which will
allow us to solve a different issue.
This commit is contained in:
Idan Horowitz 2022-10-01 17:16:22 +03:00 committed by Linus Groh
parent cd07521ed8
commit 4aade74b91
Notes: sideshowbarker 2024-07-17 06:29:42 +09:00
2 changed files with 1 additions and 1 deletions

View File

@ -12,7 +12,6 @@
#include <AK/RefCounted.h> #include <AK/RefCounted.h>
#include <AK/RefPtr.h> #include <AK/RefPtr.h>
#include <LibJS/Forward.h> #include <LibJS/Forward.h>
#include <LibJS/Runtime/Environment.h>
#include <LibJS/Runtime/Value.h> #include <LibJS/Runtime/Value.h>
namespace JS { namespace JS {

View File

@ -9,6 +9,7 @@
#include <AK/Forward.h> #include <AK/Forward.h>
#include <LibJS/Forward.h> #include <LibJS/Forward.h>
#include <LibJS/Heap/Handle.h> #include <LibJS/Heap/Handle.h>
#include <LibJS/Runtime/Environment.h>
namespace JS { namespace JS {