jamesrhester / Lerche.jl

A Julia port of the Lark parser
MIT License
45 stars 3 forks source link

Fix: TypeError during load if precompilation is disabled #28

Closed vdayanand closed 1 year ago

vdayanand commented 1 year ago

fixes the following error by checking the precompilation result only if its enabled

 ERROR: LoadError:
 TypeError: non-boolean (Nothing) used in boolean context
  Stacktrace:
   [1] top-level scope
     @ ~/.julia/packages/Lerche/fVtVd/src/precompile.jl:9
    [2] include
      @ ./Base.jl:419 [inlined]
    [3] _require(pkg::Base.PkgId)
jamesrhester commented 1 year ago

Thanks for the fix!

vdayanand commented 1 year ago

Could we have a new version with this fix? Thanks

jamesrhester commented 1 year ago

Done. Version is v0.5.3.