Closed nwhittaker closed 2 years ago
Hi @nwhittaker! Thank you for report and reproduction! It may be related to this lines: https://github.com/lifeart/ember-ast-hot-load/blob/master/lib/ast-transform.js#L316
Related PR's: https://github.com/emberjs/ember.js/pull/17146 https://github.com/emberjs/ember.js/pull/17160 https://github.com/glimmerjs/glimmer-vm/pull/892
Could you try test https://github.com/lifeart/ember-ast-hot-load/issues/716?
I tested my sample on top of #717 and it did appear to resolve the issue, thanks!
@nwhittaker thank you for testing!
ember-ast-hot-load@3.0.1
published
I noticed a somewhat convoluted issue where a yielded component is not rendered when combined with
...attributes
.Given a component that yields a component:
And invoking it:
Outputs the static string
BlockParam
instead of the usual list of numbers thatx-test-wrapper
produces.Interestingly, invoking it without
...attributes
or adopting the curly-component syntax produces the expected behavior:The expected behavior also occurs if
ember-ast-hot-load.enabled=false
is set inember-cli-build.js
, so the issue does appear to be caused by this addon.I have a branch with sample code that produces the problem at https://github.com/lifeart/ember-ast-hot-load/compare/master...nwhittaker:block-params.