From df0dce584d2d1aacf3d33658b0540f243b3adb81 Mon Sep 17 00:00:00 2001 From: Lefteris Karapetsas Date: Wed, 7 Jan 2015 10:45:59 +0100 Subject: Small issues with Canonical Function Signature - Also added an extra test --- AST.h | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'AST.h') diff --git a/AST.h b/AST.h index 32cc23a5..8493d432 100644 --- a/AST.h +++ b/AST.h @@ -277,11 +277,10 @@ public: /// Checks that all parameters have allowed types and calls checkTypeRequirements on the body. void checkTypeRequirements(); - /// Returns the canonical signature of the function - /// That consists of the name of the function followed by the - /// types of the arguments separated by commas all enclosed in parentheses - /// without any spaces - std::string getCanonicalSignature(); + /// @returns the canonical signature of the function + /// That consists of the name of the function followed by the types of the + /// arguments separated by commas all enclosed in parentheses without any spaces. + std::string getCanonicalSignature() const; private: bool m_isPublic; -- cgit