Enhance %extend to extend a class with template constructors

This commit is contained in:
William S Fulton 2017-01-24 08:24:46 +00:00
commit d6d7afb755
5 changed files with 48 additions and 5 deletions

View file

@ -34,6 +34,7 @@ public class extend_template_method_runme {
}
if (ExtendMe.static_method(123) != 123)
throw new RuntimeException("static_method failed");
ExtendMe em2 = new ExtendMe(123);
}
{
TemplateExtend em = new TemplateExtend();
@ -56,6 +57,7 @@ public class extend_template_method_runme {
}
if (TemplateExtend.static_template_method(123) != 123)
throw new RuntimeException("static_template_method failed");
TemplateExtend em2 = new TemplateExtend(123);
}
}
}