~tristan957/monkey

82e8ca47e71893a3b6d3da5ff3214ccc4e507b32 — Tristan Partin 6 months ago 4f2145f master
Get rid of unnecessary cast
1 files changed, 1 insertions(+), 1 deletions(-)

M lexer/lexer.go
M lexer/lexer.go => lexer/lexer.go +1 -1
@@ 216,7 216,7 @@ func (l *Lexer) readChar() error {
		l.ch = ch
		l.currPosition.Line = l.nextPosition.Line
		l.currPosition.Column = l.nextPosition.Column
		if l.ch == rune('\n') {
		if l.ch == '\n' {
			l.nextPosition.Line++
			l.nextPosition.Column = 1
		} else {