summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/parsers/type/method_type.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/parsers/type/method_type.cpp b/src/parsers/type/method_type.cpp
index b57ecd0..827752f 100644
--- a/src/parsers/type/method_type.cpp
+++ b/src/parsers/type/method_type.cpp
@@ -33,6 +33,8 @@ void parseMethodTypeNode(MethodTypeNode *node)
fillType(node);
Log::dump(node);
+ fillTypeAttributes(node);
+
if (!node->parseChilds)
return;
@@ -42,7 +44,6 @@ void parseMethodTypeNode(MethodTypeNode *node)
node,
TREE_TYPE(node->gccNode),
"method return type"));
- fillTypeAttributes(node);
node->methodBaseType = static_cast<TypeNode*>(createParseNode(
node,