arnodel / golua

A Lua compiler / runtime in Go
Apache License 2.0
93 stars 10 forks source link

Better error messages for numeric for #76

Closed arnodel closed 2 years ago

arnodel commented 2 years ago

See tests. The PR makes the error messages more specific

codecov[bot] commented 2 years ago

Codecov Report

Merging #76 (0f23672) into lua5.4 (de8f01a) will increase coverage by 0.03%. The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           lua5.4      #76      +/-   ##
==========================================
+ Coverage   87.87%   87.90%   +0.03%     
==========================================
  Files          93       93              
  Lines       10227    10237      +10     
==========================================
+ Hits         8987     8999      +12     
+ Misses        952      950       -2     
  Partials      288      288              
Impacted Files Coverage Δ
runtime/luacont.go 91.18% <100.00%> (+0.18%) :arrow_up:
runtime/value.go 86.91% <0.00%> (+0.62%) :arrow_up:

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 de8f01a...0f23672. Read the comment docs.