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