You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
svelte/packages/svelte/tests/compiler-errors/samples
Simon H a2565efa37
docs: tweak "invalid assignment" compiler error message (#14955)
8 months ago
..
attribute-empty chore: tidy up messages (#11327) 1 year ago
attribute-sequence-expression chore: tidy up messages (#11327) 1 year ago
attribute-sequence-expression-2 chore: tidy up messages (#11327) 1 year ago
attribute-unique better tooltips in playground (#11705) 1 year ago
attribute-unique-binding better tooltips in playground (#11705) 1 year ago
attribute-unique-class fix: error on duplicate style and class directive (#13097) 1 year ago
attribute-unique-shorthand better tooltips in playground (#11705) 1 year ago
attribute-unique-style fix: error on duplicate style and class directive (#13097) 1 year ago
catch-before-closing chore: markdown errors (#11294) 1 year ago
catch-without-await fix: correct typo in compiler error messages (#14044) 10 months ago
class-state-field-static chore: tidy up messages (#11327) 1 year ago
comment-unclosed chore: markdown errors (#11294) 1 year ago
component-invalid-name fix: allow more characters in the unicode range as component identifiers (#13198) 12 months ago
component-slot-duplicate-error chore: tidy up messages (#11327) 1 year ago
component-slot-duplicate-error-2 chore: tidy up messages (#11327) 1 year ago
component-slot-duplicate-error-3 chore: tidy up messages (#11327) 1 year ago
component-slot-duplicate-error-4 chore: tidy up messages (#11327) 1 year ago
component-slot-duplicate-error-5 chore: tidy up messages (#11327) 1 year ago
component-slot-duplicate-error-6 chore: tidy up messages (#11327) 1 year ago
component-slot-nested-error chore: tidy up messages (#11327) 1 year ago
component-slot-nested-error-2 chore: tidy up messages (#11327) 1 year ago
component-slot-nested-error-3 chore: tidy up messages (#11327) 1 year ago
const-tag-cyclical fix: improve consttag ordering in non-runes mode (#11908) 1 year ago
const-tag-sequence fix: disallow sequence expressions in `@const` tags (#11357) 1 year ago
const-tag-whitespace fix: require whitespace after `@const` tag (#11379) 1 year ago
css chore: tidy up messages (#11327) 1 year ago
css-global-block-combinator feat: allow `:global` in more places (alternative) (#12560) 1 year ago
css-global-block-combinator-2 feat: allow `:global` in more places (alternative) (#12560) 1 year ago
css-global-block-declaration feat: allow `:global` in more places (alternative) (#12560) 1 year ago
css-global-block-multiple feat: allow `:global` in more places (alternative) (#12560) 1 year ago
css-global-modifier feat: allow `:global` in more places (alternative) (#12560) 1 year ago
css-global-modifier-start-1 feat: allow `:global` in more places (alternative) (#12560) 1 year ago
css-global-modifier-start-2 feat: allow `:global` in more places (alternative) (#12560) 1 year ago
css-nesting-selector-root fix: allow `&` to appear at the top when inside a `:global(...)` (#13215) 12 months ago
dollar-binding-declaration-legacy fix: tighten up `$` prefix validation (#13261) 12 months ago
dollar-binding-declaration-runes fix: tighten up `$` prefix validation (#13261) 12 months ago
dollar-binding-declaration-runes-2 fix: tighten up `$` prefix validation (#13261) 12 months ago
dollar-binding-global chore: tidy up messages (#11327) 1 year ago
dollar-binding-global-js chore: tidy up messages (#11327) 1 year ago
dollar-binding-import chore: tidy up messages (#11327) 1 year ago
dynamic-element-binding-invalid chore: markdown errors (#11294) 1 year ago
effect-active-rune fix: show correct errors for invalid runes in `.svelte.js` files (#12432) 1 year ago
element-invalid-name fix: error on invalid element name (#13057) 1 year ago
else-before-closing fix: correct typo in compiler error messages (#14044) 10 months ago
else-before-closing-2 chore: markdown errors (#11294) 1 year ago
else-before-closing-3 fix: correct typo in compiler error messages (#14044) 10 months ago
else-if-before-closing chore: markdown errors (#11294) 1 year ago
else-if-before-closing-2 fix: correct typo in compiler error messages (#14044) 10 months ago
else-if-without-if chore: markdown errors (#11294) 1 year ago
empty-attribute-shorthand chore: tidy up messages (#11327) 1 year ago
empty-classname-binding chore: tidy up messages (#11327) 1 year ago
empty-directive-name chore: tidy up messages (#11327) 1 year ago
export-default-derived-state-indirect fix: tighten up `export default` validation (#14368) 10 months ago
export-default-state-indirect fix: tighten up `export default` validation (#14368) 10 months ago
export-derived-state chore: tidy up messages (#11327) 1 year ago
export-derived-state-indirect fix: extend derived/state validation error to indirect exports (#14039) 10 months ago
export-not-defined-module feat: allow snippets to be exported from module scripts (#14315) 9 months ago
export-state chore: tidy up messages (#11327) 1 year ago
export-state-indirect fix: extend derived/state validation error to indirect exports (#14039) 10 months ago
export-state-module breaking: deprecate `context="module"` in favor of `module` (#12948) 1 year ago
illegal-expression chore: markdown errors (#11294) 1 year ago
invalid-arguments-usage breaking: prevent usage of arguments keyword in certain places (#12191) 1 year ago
invalid-rune-name fix: show correct errors for invalid runes in `.svelte.js` files (#12432) 1 year ago
invalid-snippet-binding chore: tidy up messages (#11327) 1 year ago
invalid-snippet-mutation chore: tidy up messages (#11327) 1 year ago
legacy-no-const-assignment chore: tidy up messages (#11327) 1 year ago
legacy-no-const-update chore: tidy up messages (#11327) 1 year ago
malformed-snippet fix: throw compilation error for malformed snippets (#12144) 1 year ago
malformed-snippet-2 fix: throw compilation error for malformed snippets (#12144) 1 year ago
multiple-styles chore: tidy up messages (#11327) 1 year ago
options-children chore: tidy up parser (#13045) 1 year ago
raw-mustaches-whitespace chore: tidy up messages (#11327) 1 year ago
render-tag-invalid-call chore: tidy up messages (#11327) 1 year ago
runes-before-after-update chore: tidy up messages (#11327) 1 year ago
runes-bindable-not-called chore: tidy up messages (#11327) 1 year ago
runes-duplicate-props chore: tidy up messages (#11327) 1 year ago
runes-export-let breaking: deprecate `context="module"` in favor of `module` (#12948) 1 year ago
runes-export-named-state chore: tidy up messages (#11327) 1 year ago
runes-invalid-each-binding docs: tweak "invalid assignment" compiler error message (#14955) 8 months ago
runes-invalid-each-binding-this docs: tweak "invalid assignment" compiler error message (#14955) 8 months ago
runes-invalid-each-mutation docs: tweak "invalid assignment" compiler error message (#14955) 8 months ago
runes-module-store-subscription feat: add compiler error when encountering a $-prefixed store value outside a `.svelte` file (#12799) 1 year ago
runes-no-const-assignment chore: tidy up messages (#11327) 1 year ago
runes-no-const-update chore: tidy up messages (#11327) 1 year ago
runes-no-derived-assignment chore: tidy up messages (#11327) 1 year ago
runes-no-derived-binding chore: tidy up messages (#11327) 1 year ago
runes-no-derived-state-field-assignment chore: tidy up messages (#11327) 1 year ago
runes-no-derived-state-field-update chore: tidy up messages (#11327) 1 year ago
runes-no-derived-update chore: tidy up messages (#11327) 1 year ago
runes-no-rune-each chore: tidy up messages (#11327) 1 year ago
runes-props-illegal-name-1 fix: disallow accessing internal Svelte props (#12207) 1 year ago
runes-props-illegal-name-2 fix: disallow accessing internal Svelte props (#12207) 1 year ago
runes-props-not-called chore: tidy up messages (#11327) 1 year ago
runes-wrong-bindable-args chore: tidy up messages (#11327) 1 year ago
runes-wrong-bindable-placement chore: tidy up messages (#11327) 1 year ago
runes-wrong-derived-args chore: tidy up messages (#11327) 1 year ago
runes-wrong-derived-placement chore: tidy up messages (#11327) 1 year ago
runes-wrong-effect-args chore: tidy up messages (#11327) 1 year ago
runes-wrong-effect-placement chore: tidy up messages (#11327) 1 year ago
runes-wrong-host-placement chore: tidy up messages (#11327) 1 year ago
runes-wrong-props-args chore: tidy up messages (#11327) 1 year ago
runes-wrong-props-placement-instance chore: refactor analysis (#12651) 1 year ago
runes-wrong-props-placement-module chore: refactor analysis (#12651) 1 year ago
runes-wrong-state-args chore: tidy up messages (#11327) 1 year ago
runes-wrong-state-placement chore: tidy up messages (#11327) 1 year ago
runes-wrong-state-snapshot-args chore: tidy up messages (#11327) 1 year ago
script-unclosed chore: tidy up messages (#11327) 1 year ago
script-unclosed-eof chore: markdown errors (#11294) 1 year ago
self-reference chore: tidy up parser (#13045) 1 year ago
slot-conflicting-with-render-tag fix: make messages more consistent (#11643) 1 year ago
snippet-children-conflict chore: tidy up messages (#11327) 1 year ago
snippet-rest-args fix: error on snippet rest parameters (#12472) 1 year ago
store-autosub-context-module breaking: deprecate `context="module"` in favor of `module` (#12948) 1 year ago
store-contextual chore: tidy up messages (#11327) 1 year ago
store-global-disallowed chore: tidy up messages (#11327) 1 year ago
store-prevent-user-declarations chore: tidy up messages (#11327) 1 year ago
store-shadow-scope chore: tidy up messages (#11327) 1 year ago
store-shadow-scope-2 chore: tidy up messages (#11327) 1 year ago
store-shadow-scope-3 chore: tidy up messages (#11327) 1 year ago
store-template-expression-scope chore: tidy up messages (#11327) 1 year ago
style-unclosed chore: tidy up messages (#11327) 1 year ago
style-unclosed-eof chore: markdown errors (#11294) 1 year ago
svelte-internal-import feat: error on imports to `svelte/internal/*` (#11632) 1 year ago
svelte-selfdestructive feat: add error boundaries (#14211) 9 months ago
then-before-closing fix: correct typo in compiler error messages (#14044) 10 months ago
then-without-await fix: correct typo in compiler error messages (#14044) 10 months ago
unbalanced-curly-component chore: better invalid attribute message (#11754) 1 year ago
unbalanced-curly-element chore: better invalid attribute message (#11754) 1 year ago
unclosed-attribute-self-close-tag chore: tidy up messages (#11327) 1 year ago
unexpected-end-of-input chore: tidy up messages (#11327) 1 year ago
unexpected-end-of-input-b chore: markdown errors (#11294) 1 year ago
unexpected-end-of-input-c chore: markdown errors (#11294) 1 year ago
unexpected-end-of-input-d chore: tidy up messages (#11327) 1 year ago
unmatched-closing-tag chore: tidy up messages (#11327) 1 year ago
unmatched-closing-tag-autoclose chore: tidy up messages (#11327) 1 year ago
unmatched-closing-tag-autoclose-2 chore: tidy up messages (#11327) 1 year ago
void-closing chore: tidy up messages (#11327) 1 year ago
window-children chore: tidy up parser (#13045) 1 year ago
window-duplicate chore: tidy up messages (#11327) 1 year ago
window-inside-block chore: tidy up messages (#11327) 1 year ago
window-inside-element chore: tidy up messages (#11327) 1 year ago