Browse Source

fix search & replace tragedy from 7 years ago

see eec79c1e5ea6236b6b91077da39024cb66dc7b27
Simon Krajewski 8 months ago
parent
commit
88c1cc4332
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/typing/typerEntry.ml

+ 1 - 1
src/typing/typerEntry.ml

@@ -155,7 +155,7 @@ let create com macros =
 	(match m.m_types with
 	(match m.m_types with
 	| [TClassDecl c1;TClassDecl c2] -> ctx.g.global_using <- (c1,c1.cl_pos) :: (c2,c2.cl_pos) :: ctx.g.global_using
 	| [TClassDecl c1;TClassDecl c2] -> ctx.g.global_using <- (c1,c1.cl_pos) :: (c2,c2.cl_pos) :: ctx.g.global_using
 	| [TClassDecl c1] ->
 	| [TClassDecl c1] ->
-		let m = TypeloadModule.load_module ctx (["haxe"],"EnumWithType.valueTools") null_pos in
+		let m = TypeloadModule.load_module ctx (["haxe"],"EnumValueTools") null_pos in
 		(match m.m_types with
 		(match m.m_types with
 		| [TClassDecl c2 ] -> ctx.g.global_using <- (c1,c1.cl_pos) :: (c2,c2.cl_pos) :: ctx.g.global_using
 		| [TClassDecl c2 ] -> ctx.g.global_using <- (c1,c1.cl_pos) :: (c2,c2.cl_pos) :: ctx.g.global_using
 		| _ -> die "" __LOC__);
 		| _ -> die "" __LOC__);