diff --git a/haxe/ui/macros/MacroHelpers.hx b/haxe/ui/macros/MacroHelpers.hx index 6df382dd4..9095f15e8 100644 --- a/haxe/ui/macros/MacroHelpers.hx +++ b/haxe/ui/macros/MacroHelpers.hx @@ -102,8 +102,10 @@ class MacroHelpers { for (file in files) { if (StringTools.endsWith(file, ".hx") && !StringTools.startsWith(file, ".")) { var name:String = file.substr(0, file.length - 3); - var temp:Array = Context.getModule(pack + "." + name); - types = types.concat(temp); + try { + var temp:Array = Context.getModule(pack + "." + name); + types = types.concat(temp); + } catch (e:Dynamic) { } } } }