Skip to content
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

No error if space after = #3026

Closed
gurjeet opened this issue Jun 14, 2019 · 1 comment · Fixed by #3028
Closed

No error if space after = #3026

gurjeet opened this issue Jun 14, 2019 · 1 comment · Fixed by #3028
Labels

Comments

@gurjeet
Copy link

gurjeet commented Jun 14, 2019

The following example does not work. It's reproducible on repl.

https://svelte.dev/repl/80e0bfba5c364c9e9c5cfe6d792b8c50?version=3.5.1

<script>
	let count = 0;
	function handleClick() {
		count += 1;
	}
</script>

<button on:click= {handleClick}>
	Clicked {count} {count === 1 ? 'time' : 'times'}
</button>
@gurjeet
Copy link
Author

gurjeet commented Jun 16, 2019

@Panya, when do you expect this fix to land on the repl site?

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

Successfully merging a pull request may close this issue.

2 participants