Skip to content

unique name for select_block_type in IfBlock#buildCompoundWithOutros #1584

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

Merged
merged 1 commit into from
Jul 8, 2018

Conversation

Conduitry
Copy link
Member

Fixes #1580

select_block_type in IfBlock#buildCompoundWithOutros was getting a unique name within its block, which is not what we want, as it can conflict with that in other blocks. We want it to be globally unique, like the one in IfBlock#build.

@Conduitry Conduitry merged commit a2368cd into master Jul 8, 2018
@MNITD
Copy link

MNITD commented Jul 8, 2018

@Conduitry are you sure that the bug is fixed? As I understood this problem wiil still appearing in REPL because of sveltejs/v2.svelte.dev#327. But everything should work properly in a some new project?

@Conduitry
Copy link
Member Author

The issue with the REPL makes it so that the compiled code that's displayed isn't what's actually run. That hasn't been fixed yet. I am pretty sure this PR fixes your issue, but a new version of Svelte with it hasn't been released yet.

@Conduitry Conduitry deleted the gh-1580 branch July 8, 2018 17:45
@Conduitry
Copy link
Member Author

I believe Rich is still on vacation, so my current plan is to check this evening whether there is another issue I can knock out relatively easily, and then either way cut a new release.

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

Successfully merging this pull request may close these issues.

2 participants