k0kubun / hamlit

High Performance Haml Implementation
https://rubygems.org/gems/hamlit
Other
981 stars 59 forks source link

apparent segfault when merging hashes #101

Closed FND closed 7 years ago

FND commented 7 years ago

reduced test case: https://gist.github.com/FND/fcc8553ca764b491b9f981cebcebce6b

:ruby
  foo = "foo"
  extras = nil

%div{ extras, foo: foo }

that nil value results in what looks like a segfault with Hamlit 2.8.0 on Ruby 2.0 and 2.3

k0kubun commented 7 years ago

Oh... :fearful:

Fixed and released as v2.8.1.

FND commented 7 years ago

Wow, that was quick - thanks a lot!