Skip to content

Prefer variables in scope over global variables#865

Merged
NullVoxPopuli merged 1 commit intotyped-ember:mainfrom
mogstad:push-uovqtzurwlpu
Mar 31, 2025
Merged

Prefer variables in scope over global variables#865
NullVoxPopuli merged 1 commit intotyped-ember:mainfrom
mogstad:push-uovqtzurwlpu

Conversation

@mogstad
Copy link
Copy Markdown
Contributor

@mogstad mogstad commented Mar 30, 2025

Resolves #864

Seems like there is an edge case with action helper, unsure if we should treat it as a bug in Ember or add an edge case for it in the treatGlobal check.

Ref: #864 (comment)

@mogstad mogstad force-pushed the push-uovqtzurwlpu branch 2 times, most recently from 101f058 to 2c36249 Compare March 30, 2025 17:39
@NullVoxPopuli
Copy link
Copy Markdown
Contributor

I think we should treat it like a bug in ember.

We don't want weird things to be encoded in Glint, as this makes Glint less flexible.

but also {{action}} is deprecated for removal in ember-source @ v7

@mogstad mogstad marked this pull request as ready for review March 31, 2025 15:41
@NullVoxPopuli NullVoxPopuli added the bug Something isn't working label Mar 31, 2025
@NullVoxPopuli NullVoxPopuli merged commit dafe6e1 into typed-ember:main Mar 31, 2025
4 of 5 checks passed
@github-actions github-actions Bot mentioned this pull request Mar 31, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

action potential name collision?

2 participants