[Lex] runtime error if there is a comment after the last token
LFsWang opened this issue · 0 comments
LFsWang commented
contract cont1 {
}
// I am bug
soll: /code/lib/Lex/Lexer.cpp:47: soll::SourceLocation soll::Lexer::getSourceLocation(const char*, unsigned int) const: Assertion `Loc >= BufferStart && Loc <= BufferEnd && "Location out of range for this buffer!"' failed.
Quick fix
contract cont1 {
}
// I am bug
;