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

Regression 1.60.1 -> 1.60.2 :: <select multiple... results in Module build failed #1331

Closed
samhatchett opened this issue Apr 11, 2018 · 1 comment
Labels

Comments

@samhatchett
Copy link

samhatchett commented Apr 11, 2018

https://svelte.technology/repl?version=1.60.2&gist=3d32d3e082562a4de08b054f46e7756e

The example works with v 1.60.1 but not with 1.60.2.

I believe this is due to incorrect flow here:
https://github.com/sveltejs/svelte/blob/master/src/validate/html/validateElement.ts#L110

... from the PR meant to address generating a compiler error for dynamic binding of multiple:
https://github.com/sveltejs/svelte/pull/1313/files#diff-af8fdb1fcadd89d16ba4cf8722fe1eafR116

Looks like checkTypeAttribute is never called for a non-dynamic multiple

@Rich-Harris
Copy link
Member

Thanks, fixed in 1.60.3

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