Skip to content

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

@samhatchett

Description

@samhatchett

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions