From d88e1fa5ddc116fb81bd9a3c47b95e1937e24d14 Mon Sep 17 00:00:00 2001 From: RazvanN7 Date: Thu, 25 Jan 2018 13:30:34 +0200 Subject: [PATCH] Make alias visit public in src/dfmt/ast_info.FormatVisitor --- src/dfmt/ast_info.d | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/dfmt/ast_info.d b/src/dfmt/ast_info.d index e2fef35..db7fe22 100644 --- a/src/dfmt/ast_info.d +++ b/src/dfmt/ast_info.d @@ -90,6 +90,8 @@ struct ASTInformation /// Collects information from the AST that is useful for the formatter final class FormatVisitor : ASTVisitor { + alias visit = ASTVisitor.visit; + /** * Params: * astInformation = the AST information that will be filled in @@ -295,5 +297,4 @@ final class FormatVisitor : ASTVisitor private: ASTInformation* astInformation; - alias visit = ASTVisitor.visit; }