fix LSP complaining
This commit is contained in:
@@ -1,7 +1,7 @@
|
|||||||
package;
|
package;
|
||||||
|
|
||||||
import openfl.display.Sprite;
|
import openfl.display.Sprite;
|
||||||
import Assets; // Forces build(macros.AssetMacro.build()) to run.
|
import Assets; // Forces @:build(macros.AssetMacro.build()) to run.
|
||||||
|
|
||||||
class Main extends Sprite {
|
class Main extends Sprite {
|
||||||
public function new() {
|
public function new() {
|
||||||
|
|||||||
@@ -1,8 +1,8 @@
|
|||||||
package macros;
|
package macros;
|
||||||
|
|
||||||
|
#if macro
|
||||||
import haxe.macro.Context;
|
import haxe.macro.Context;
|
||||||
import haxe.macro.Expr;
|
import haxe.macro.Expr;
|
||||||
import haxe.macro.Type;
|
|
||||||
import sys.FileSystem;
|
import sys.FileSystem;
|
||||||
import sys.io.File;
|
import sys.io.File;
|
||||||
import haxe.Json;
|
import haxe.Json;
|
||||||
@@ -329,4 +329,5 @@ class AssetMacro {
|
|||||||
default: "binary";
|
default: "binary";
|
||||||
}).toUpperCase();
|
}).toUpperCase();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
#end
|
||||||
|
|||||||
Reference in New Issue
Block a user