我找不到任何使用宏创建摘要的示例代码或教程。
//Class code ReflectionClassInfo.hx
@:build(ReflectionClassInfoMacro.build())
abstract ReflectionClassInfo({}) from ({}) to ({}) {}
//Driver code
var r=new ReflectionClassInfo();
//Immeditately makes the compiler complain about there is no constructor
Run Code Online (Sandbox Code Playgroud)
如何修复编译器错误?