second-state / SOLL

SOLL is a new compiler for generate Ewasm from solidity and yul. See a demo here: https://asciinema.org/a/ezJqNLicn5fya02zwu4VXIo8a
https://www.secondstate.io/
377 stars 23 forks source link

[Lex] fix runtime error if there is a comment after the last token #79

Closed jacky860226 closed 3 years ago

jacky860226 commented 3 years ago

Fix #73

codecov[bot] commented 3 years ago

Codecov Report

Merging #79 (3435edf) into master (94c3b35) will increase coverage by 0.00%. The diff coverage is 100.00%.

Impacted file tree graph

@@           Coverage Diff           @@
##           master      #79   +/-   ##
=======================================
  Coverage   64.15%   64.16%           
=======================================
  Files          91       91           
  Lines       12633    12635    +2     
  Branches     1955     1955           
=======================================
+ Hits         8105     8107    +2     
  Misses       3604     3604           
  Partials      924      924           
Impacted Files Coverage Δ
lib/Lex/Lexer.cpp 63.32% <100.00%> (+0.37%) :arrow_up:
lib/Sema/SemaResolveInherit.cpp 15.07% <0.00%> (-0.51%) :arrow_down:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 94c3b35...3435edf. Read the comment docs.