improve a comment
fix assignment IR emission

however, it is very ad hoc and it can't emit IR for nested index access.
Issue #2 must be solved.