Fix XML access warning

This commit is contained in:
Joshua Granick
2018-11-13 10:19:31 -08:00
parent 5bbfd42f59
commit 263e73922e
3 changed files with 19 additions and 2 deletions

View File

@@ -1,10 +1,16 @@
package lime.tools;
import haxe.xml.Fast;
import hxp.*;
#if (haxe_ver >= 4)
import haxe.xml.Access in Fast;
#else
import haxe.xml.Fast;
#end
abstract ConfigData(Dynamic) to Dynamic from Dynamic {

View File

@@ -14,6 +14,12 @@ import sys.FileSystem;
import sys.io.File;
import sys.io.Process;
#if (haxe_ver >= 4)
import haxe.xml.Access in Fast;
#else
import haxe.xml.Fast;
#end
#if (lime && lime_cffi && !macro)
import lime.text.Font;
@:access(lime.text.Font)

View File

@@ -1,7 +1,6 @@
package lime.tools;
import haxe.xml.Fast;
import hxp.*;
import lime.tools.CommandHelper;
import lime.tools.ModuleHelper;
@@ -15,6 +14,12 @@ import lime.utils.AssetManifest;
import sys.io.File;
import sys.FileSystem;
#if (haxe_ver >= 4)
import haxe.xml.Access in Fast;
#else
import haxe.xml.Fast;
#end
class ProjectXMLParser extends HXProject {