adl
adl copied to clipboard
ADL (Algebraic Data Language)
The last annotation wins. This should either be a compiler error or both annotations should be present. Probably the forma. ``` adl struct Survey { @UIElement { "elemType" : "Radio"...
Bug ``` cpp type X = Void; struct Y { String A; }; annotation Y X; }; ``` `adlc` returns ``` unexpected ";" expecting space, "//", "null", "true", "false", "\"",...
``` BUG: Unabled to resolve annotation to a declaration CallStack (from HasCallStack): error, called at src/ADL/Compiler/Processing.hs:408:23 in adl-compiler-lib-0.1.0.0-8FUV7p5iI8O1KnVHy3hiMB:ADL.Compiler.Processing TaskFailed - taskid:genadl Command failed: './tools/gen-adl.sh' returned 1 ```
There are circumstances where we need the type expression for the alias (eg inside dynamics). Possibly emit a java class for the type alias, but which only has static factory...
``` // Generates and compiles OK module bugged_ok { struct AA_Struct { Double val123; }; union AZ_Union { AA_Struct val; T tval; }; }; ``` ``` // Generates ok but...