code --- import std.traits : hasUDA; enum hover;
struct Style { struct Root { auto margin = "10px"; auto backgroundColor = "white"; @hover struct Hover { auto backgroundColor = "gray"; } } } pragma(msg, hasUDA!(Style.Root.Hover, hover)); ---returns false. Bug or no? (Yes, I am generating css at compile time.)
Putting it on Root or on Style works as intended;