From 6b4b330d8b1b57b15dc005d4a5158b622337558a Mon Sep 17 00:00:00 2001 From: yann300 Date: Fri, 3 Jul 2015 11:57:46 +0200 Subject: [PATCH] retrieve short type name --- mix/CodeModel.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mix/CodeModel.cpp b/mix/CodeModel.cpp index 655be1c08..1d566308b 100644 --- a/mix/CodeModel.cpp +++ b/mix/CodeModel.cpp @@ -543,7 +543,7 @@ void CodeModel::retrieveSubType(SolidityType& _wrapperType, dev::solidity::Type SolidityType CodeModel::nodeType(dev::solidity::Type const* _type) { - SolidityType r { SolidityType::Type::UnsignedInteger, 32, 1, false, false, QString::fromStdString(_type->toString()), std::vector(), std::vector(), nullptr }; + SolidityType r { SolidityType::Type::UnsignedInteger, 32, 1, false, false, QString::fromStdString(_type->toString(true)), std::vector(), std::vector(), nullptr }; if (!_type) return r; switch (_type->getCategory())