Browse Source

[tests] update test for #3500

Rudy Ges 1 year ago
parent
commit
23c865f56c
1 changed files with 1 additions and 1 deletions
  1. 1 1
      tests/misc/projects/Issue3500/Main.hx

+ 1 - 1
tests/misc/projects/Issue3500/Main.hx

@@ -9,7 +9,7 @@ class Main {
 			var t = haxe.macro.Context.getType("A");
 			var t = haxe.macro.Context.getType("A");
 			switch (t) {
 			switch (t) {
 				case TAbstract(a, _):
 				case TAbstract(a, _):
-					var hasTestMeta = Lambda.exists(a.get().impl.get().meta.get(), function(m) return m.name == ":test");
+					var hasTestMeta = Lambda.exists(a.get().meta.get(), function(m) return m.name == ":test");
 					if (!hasTestMeta) {
 					if (!hasTestMeta) {
 						fail("Abstract implementation class has no @:test metadata");
 						fail("Abstract implementation class has no @:test metadata");
 					}
 					}