code:

private struct request_variant {
        package:
                immutable string sql_query;
}

enum test : request_variant {
        current_time = request_variant( "SELECT now()" ),
        //users = { sql_query: "SELECT 'users list'::text" }
}

causes syntax error if I am uncommit second string in enum

Reply via email to