Remove const array formatting
This commit is contained in:
parent
53872373bf
commit
28be145a70
@ -162,9 +162,7 @@ namespace types {
|
|||||||
|
|
||||||
std::string ArrayType::formatted() {
|
std::string ArrayType::formatted() {
|
||||||
std::stringstream out{ "" };
|
std::stringstream out{ "" };
|
||||||
if (this->m_const)
|
// Arrays are always constant, no reason to format it.
|
||||||
out << "const[] ";
|
|
||||||
|
|
||||||
out << this->m_inner->formatted();
|
out << this->m_inner->formatted();
|
||||||
out << "[" << this->m_size << "]";
|
out << "[" << this->m_size << "]";
|
||||||
return out.str();
|
return out.str();
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user