From f14ef0a4dda8e947478d64735cde91a86bdb4114 Mon Sep 17 00:00:00 2001 From: Lord-McSweeney <84632019+Lord-McSweeney@users.noreply.github.com> Date: Fri, 24 Feb 2023 21:55:25 -0800 Subject: [PATCH] Cleanup globals.as --- core/src/avm2/globals/globals.as | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/core/src/avm2/globals/globals.as b/core/src/avm2/globals/globals.as index d9c802081..e2d2b71ce 100644 --- a/core/src/avm2/globals/globals.as +++ b/core/src/avm2/globals/globals.as @@ -34,11 +34,8 @@ include "flash/display/Bitmap.as" include "flash/display/BitmapData.as" include "flash/display/InteractiveObject.as" include "flash/display/DisplayObjectContainer.as" - -include "flash/errors/IllegalOperationError.as" // Stage is dependent on IllegalOperationError -include "flash/display/Stage.as" - include "flash/display/LoaderInfo.as" +include "flash/display/Stage.as" include "flash/display/ActionScriptVersion.as" include "flash/display/BitmapDataChannel.as" @@ -144,8 +141,10 @@ include "flash/events/UncaughtErrorEvent.as" include "flash/events/UncaughtErrorEvents.as" include "flash/events/VideoEvent.as" include "flash/events/VideoTextureEvent.as" -include "flash/errors/IOError.as" + +include "flash/errors/IOError.as" // IOError is a superclass of EOFError include "flash/errors/EOFError.as" +include "flash/errors/IllegalOperationError.as" include "flash/errors/InvalidSWFError.as" include "flash/errors/MemoryError.as" include "flash/errors/ScriptTimeoutError.as"