In the doc, it says

bytes: Dynamically-sized byte array, see Arrays. Not a value-type!

string: Dynamically-sized UTF-8-encoded string, see Arrays. Not a value-type!

Not a value-type!

If bytes/string are not value-types, why are these placed in Value Types section?

  • You can report an issue to the github solidity compiler repo, and sent a pull request to fix the problem. – Ismael May 24 '18 at 3:28
  • Ok. I just did. Let's see how it goes. – bbusdriver May 24 '18 at 5:25

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.