glimmerjs/glimmer-vm

has-block-params for names blocks

Closed this issue · 0 comments

right now has-block-params works only for default block ({{yield}}, {{yield to="default"}}), but my expectation - it should work for any named block as well (as has-block helper)

here is a test checking guarding named arguments usage for this helper https://github.com/glimmerjs/glimmer-vm/blob/master/packages/@glimmer/integration-tests/test/syntax/yield-keywords-test.ts#L42