Closed NullVoxPopuli closed 2 years ago
Here is the code: https://github.com/emberjs/ember.js/blob/67d465f7603685b20a4dc27833164ceab7003559/packages/%40ember/-internals/glimmer/lib/helper.ts#L195
that matches what i'm seeing in my browser.
I though I'd add .class
property to my helper to make this getDebugName correct, but then the owner is not passed to the helper (goes down a different instantiation path: https://github.com/emberjs/ember.js/blob/67d465f7603685b20a4dc27833164ceab7003559/packages/%40ember/-internals/glimmer/lib/helper.ts#L165 )
successful reproduction here: https://github.com/ember-template-imports/ember-template-imports/runs/4567719281?check_suite_focus=true
π Describe the Bug
Error wasn't expected, but I think phrasing of the error could be improved?
π¬ Minimal Reproduction
using ember-template-imports (or strict mode some other way), define this template:
π Actual Behavior
actual helper is:
π€ Expected Behavior
primarily, I expected this to work:
but a more helpful error would have been preferable, given the situation?
π Environment
β Additional Context
Add any other context about the problem here.