Open silasdavis opened 5 years ago
Merging #172 into master will increase coverage by
0.01%
. The diff coverage is100%
.
@@ Coverage Diff @@
## master #172 +/- ##
==========================================
+ Coverage 69.71% 69.72% +0.01%
==========================================
Files 48 48
Lines 5484 5486 +2
==========================================
+ Hits 3823 3825 +2
Misses 1317 1317
Partials 344 344
Impacted Files | Coverage Δ | |
---|---|---|
wasm/operators/op.go | 76.47% <100%> (+1.47%) |
: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 01d3d33...5f0a572. Read the comment docs.
Might using Stringer
for op's be a better option over directly fetching the name of the op?
https://github.com/golang/tools/blob/master/cmd/stringer/stringer.go
Feel free to integrate stringer for Op
if you wish.
Apologies for the confusion, what I meant was to add a doc comment to Get(opcode byte) Op
. Its part of the exported API surface, so we need a doc comment so it shows up with documentation in godoc (See the Commentary --> Doc comments section in effective Go for more rationale).
ping?
Avoid this kind of sadness:
https://github.com/perlin-network/life/blob/master/compiler/ssa.go#L445-L454
with:
Signed-off-by: Silas Davis silas@monax.io