I've noticed the following issues in decompiled code which are the problem when I try to compile it back:
- structs are not public
- public(friend) instead of public(package) is used
- if struct or function has reserved word for example struct has 'for' field then it lacks escape characters, it should be '`for`' .