sisshiki1969 / monoruby

Ruby implementation with yet another JIT compiler.
Apache License 2.0
110 stars 4 forks source link

Impl. defined?. #12

Closed sisshiki1969 closed 1 year ago

sisshiki1969 commented 1 year ago

Implement defined? syntax.

Currently, class variables are not supported.

codecov[bot] commented 1 year ago

Codecov Report

Merging #12 (09558c4) into master (3327744) will increase coverage by 0.37%. The diff coverage is 90.35%.

@@            Coverage Diff             @@
##           master      #12      +/-   ##
==========================================
+ Coverage   80.10%   80.48%   +0.37%     
==========================================
  Files          68       69       +1     
  Lines       23795    24218     +423     
==========================================
+ Hits        19061    19491     +430     
+ Misses       4734     4727       -7     
Impacted Files Coverage Δ
src/executor.rs 83.41% <ø> (ø)
src/executor/globals/functions.rs 95.03% <ø> (ø)
src/executor/compiler/jitgen/binary_op.rs 87.05% <20.00%> (+2.18%) :arrow_up:
src/executor/op.rs 80.56% <20.00%> (+0.91%) :arrow_up:
src/executor/bytecodegen/defined.rs 73.88% <73.88%> (ø)
src/executor/bytecodegen.rs 84.97% <86.84%> (-0.04%) :arrow_down:
src/executor/compiler/jitgen/analysis.rs 90.92% <87.50%> (+1.04%) :arrow_up:
src/executor/bytecodegen/encode.rs 99.14% <100.00%> (+0.06%) :arrow_up:
src/executor/compiler/jitgen.rs 96.01% <100.00%> (+0.16%) :arrow_up:
src/executor/compiler/runtime.rs 89.22% <100.00%> (+1.33%) :arrow_up:
... and 6 more

... and 2 files with indirect coverage changes

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more