patbenatar / rbexy

A Ruby template language and component framework inspired by JSX and React
MIT License
34 stars 5 forks source link

Multiple splats fail when used inside a block #91

Open patbenatar opened 2 years ago

patbenatar commented 2 years ago

This works:

<div {**{foo: true}} {**{bar: true}}>hello</div>

This errors:

{@things.map { |thing| <div {**{foo: true}} {**{bar: true}}>hello</div>}}