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

Identifier 'i' has already been declared #3899

Closed
larryosborn opened this issue Nov 11, 2019 · 1 comment
Closed

Identifier 'i' has already been declared #3899

larryosborn opened this issue Nov 11, 2019 · 1 comment
Labels

Comments

@larryosborn
Copy link

Describe the bug
Using an <i {...props}> results in an error.

Logs
Identifier 'i' has already been declared (Note that you need plugins to import files that are not JavaScript)

To Reproduce
https://svelte.dev/repl/5d6890a789d7465a8a96a0e027eaa883?version=3.13.0

<script>
	let props = {
		a: 1,
		b: 2,
	}
</script>
<i {...props}>what?</i>

Information about your Svelte project:
Chrome, Safari, Firefox

  • Your operating system: (e.x. OS X 10, Ubuntu Linux 19.10, Windows XP, etc)
    MacOS 10.15

  • Svelte version (Please check you can reproduce the issue with the latest release!)
    v3.13.0

  • Whether your project uses Webpack or Rollup
    Rollup

Severity
Minor, however this impacts my usage of icon font libraries that use the tag.

@Rich-Harris
Copy link
Member

Fixed in 3.14.0 — thanks

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

3 participants