In reply to jela:
There are a number of ways to resolve this issue without removing the keyword logic.
- Use a version of a tool that supports the LRM correctly
- Add wire to port declaration
- Change the port direction to inout
- Remove the continuous assignment to the input port
- Replace the assign with a force