|
@@ -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");
|
|
}
|
|
}
|