Skip to content

Cannot have a value called ctx #3556

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
Rich-Harris opened this issue Sep 12, 2019 · 1 comment
Closed

Cannot have a value called ctx #3556

Rich-Harris opened this issue Sep 12, 2019 · 1 comment
Labels

Comments

@Rich-Harris
Copy link
Member

Describe the bug

Svelte gets terribly confused if you name a variable ctx.

To Reproduce

https://svelte.dev/repl/636dd36f255f499fa7ed04c3b1a0dc71?version=3.12.1

Expected behavior

Hello world

Severity

I'm just amazed it hasn't come up already

Additional context

Will be fixed by #3539. Just leaving this here to make sure I don't forget

Conduitry added a commit to Conduitry/sveltejs_svelte that referenced this issue Oct 16, 2019
Conduitry added a commit to Conduitry/sveltejs_svelte that referenced this issue Oct 16, 2019
@Conduitry
Copy link
Member

Fixed by #3539, test added in #3722.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants