icyleaf/halite

Bug: always shards options with chainable methods

icyleaf opened this issue · 0 comments

Crystal can not use instance variable in module, for now, i use constant DEFAULT_OPTIONS to shards the options, but if separate to call the chainable methods, it still use the same options 😿

The spec will failed in:

  1. https://github.com/icyleaf/halite/blob/specs/spec/halite_spec.cr#L36
  2. https://github.com/icyleaf/halite/blob/specs/spec/halite_spec.cr#L78

result:

https://circleci.com/gh/icyleaf/halite/80