Closed chancancode closed 6 years ago
IMHO, this is clearly a bug and we should just fix it (Option 1).
imo, these are also bugs but in the sub-expression positions, but that's probably more controversial: https://ember-twiddle.com/95790479cef1d910bdc12ffcfc446149?openFiles=templates.application.hbs%2C (cc @wycats @mmun)
Not sure if the approach is still good for the current glimmer codebase, but here was the last patch that fixed the {{foo}}
cases: https://github.com/glimmerjs/glimmer-vm/pull/335
👍 from me. I agree with all the statements in the second twiddle.
We tried to fix this in #14520, but apparently we didn't catch all the cases.
Reproduction: https://ember-twiddle.com/dcce0cd429ceb1d454d62988937bfd15?openFiles=templates.application.hbs%2C
Options are: