I just upgraded my code to Solidity 0.5 and am trying to use the truffle framework with it. I did update my code in Remix and installed truffle@beta so that it can use v5.
The problem I have is that I am unable to compile my code with truffle. I get this error message:
UnimplementedFeatureError: Encoding type "struct Contract.MyStruct memory" not yet implemented.
What could the problem be as the code does work properly with remix?
Edit: The line of code I typed that gets me to this error after I access my contract folder via the terminal is:
truffle compile
It doesn't give me a line number for where the error is from in my contract but I have functions that return a struct which with Solidity 0.5 need the memory keyword.