Fix bracing style.

This commit is contained in:
H. S. Teoh 2017-06-07 10:31:55 -07:00
parent 89bf88f2e1
commit 09e5a3ccc7

View file

@ -7656,13 +7656,15 @@ template getUDAs(alias symbol, alias attribute)
* This is not recursive; it will not search for symbols within symbols such as
* nested structs or unions.
*/
template getSymbolsByUDA(alias symbol, alias attribute) {
template getSymbolsByUDA(alias symbol, alias attribute)
{
import std.format : format;
import std.meta : AliasSeq, Filter;
// translate a list of strings into symbols. mixing in the entire alias
// avoids trying to access the symbol, which could cause a privacy violation
template toSymbols(names...) {
template toSymbols(names...)
{
static if (names.length == 0)
alias toSymbols = AliasSeq!();
else