Forráskód Böngészése

[server] fix position types

Simon Krajewski 6 éve
szülő
commit
80d1b06fe9
1 módosított fájl, 4 hozzáadás és 4 törlés
  1. 4 4
      std/haxe/display/Server.hx

+ 4 - 4
std/haxe/display/Server.hx

@@ -113,7 +113,7 @@ typedef HaxeMemoryResult = {
 		final context:HaxeServerContext;
 		final size:Int;
 	}>;
-	final memory: {
+	final memory:{
 		final totalCache:Int;
 		final contextCache:Int;
 		final haxelibCache:Int;
@@ -147,11 +147,11 @@ typedef HaxeModuleMemoryResult = {
 	final moduleExtra:Int;
 	final types:Array<{
 		final name:String;
-		final pos:Position;
+		final ?pos:Location;
 		final size:Int;
 		final fields:Array<{
 			final name:String;
-			final pos:Position;
+			final ?pos:Location;
 			final size:Int;
 		}>;
 	}>;
@@ -163,4 +163,4 @@ typedef ContextParams = {
 
 typedef ModuleParams = ContextParams & {
 	final path:String;
-}
+}