Prechádzať zdrojové kódy

Fix module resolution (#228)

See https://github.com/HaxeFoundation/haxe/issues/11187
Rudy Ges 1 rok pred
rodič
commit
76139e8b75
1 zmenil súbory, kde vykonal 1 pridanie a 1 odobranie
  1. 1 1
      hrt/impl/Macros.hx

+ 1 - 1
hrt/impl/Macros.hx

@@ -13,7 +13,7 @@ class Macros {
 		};
 
 		if (value == null) {
-			var defaultConstructors = Type.allEnums(e);
+			var defaultConstructors = std.Type.allEnums(e);
 			if (defaultConstructors.length > 0) value = defaultConstructors[0];
 		}