quality-19 Implement basic LastLiteral logic
https://github.com/regidev/mte/issues/issue/19