Skip to content

Properly override toString in CompileError#1016

Merged
Rich-Harris merged 2 commits intosveltejs:masterfrom
esarbanis:override-toString
Dec 13, 2017
Merged

Properly override toString in CompileError#1016
Rich-Harris merged 2 commits intosveltejs:masterfrom
esarbanis:override-toString

Conversation

@esarbanis
Copy link
Copy Markdown
Contributor

This bug actually breaks most of the test cases in svelte-loader, when svelte's version is updated to the current one.

@codecov-io
Copy link
Copy Markdown

codecov-io commented Dec 12, 2017

Codecov Report

Merging #1016 into master will increase coverage by 0.02%.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #1016      +/-   ##
==========================================
+ Coverage   92.06%   92.08%   +0.02%     
==========================================
  Files         115      115              
  Lines        4297     4297              
  Branches     1369     1369              
==========================================
+ Hits         3956     3957       +1     
+ Misses        148      147       -1     
  Partials      193      193
Impacted Files Coverage Δ
test/parser/index.js 100% <ø> (ø) ⬆️
src/utils/CompileError.ts 90% <100%> (+10%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 0da8191...b1909dc. Read the comment docs.

@Rich-Harris Rich-Harris merged commit 76356ce into sveltejs:master Dec 13, 2017
@Rich-Harris
Copy link
Copy Markdown
Member

Huh! TIL. Thanks

@esarbanis esarbanis deleted the override-toString branch December 21, 2017 20:33
sacrosanctic pushed a commit to sacrosanctic/svelte that referenced this pull request Dec 24, 2024
* migrate everything but the page stores section to $app/state

* move redirects from tutorial into handle hooks: keeps all redirects on one place, less prerendered pages for stuff that's increasingly rotten, fixes a bug with the specific redirects not working currently (they were missing from entries)

* replace $app/stores tutorial with $app/state

* bump kit

* small tweaks

* update

* Update apps/svelte.dev/content/tutorial/03-sveltekit/08-app-state/01-page-state/index.md

Co-authored-by: Conduitry <git@chor.date>

* Update apps/svelte.dev/content/tutorial/03-sveltekit/08-app-state/01-page-state/index.md

* Update apps/svelte.dev/content/tutorial/03-sveltekit/08-app-state/02-navigating-state/index.md

Co-authored-by: Conduitry <git@chor.date>

* Update apps/svelte.dev/content/tutorial/03-sveltekit/08-app-state/03-updated-state/index.md

Co-authored-by: Conduitry <git@chor.date>

* Update apps/svelte.dev/content/tutorial/03-sveltekit/08-app-state/03-updated-state/index.md

* Apply suggestions from code review

* bump, use <page.data.component> directly

* update

* revert

* only update kit

* get the damn thing working

* sure, prettier, let's suddenly start complaining about these files for some reason

* undo some other upgrade that fucked up syntax highlighting for some insane reason. fuck me i fucking hate computers

* i don't fucking believe this

---------

Co-authored-by: Rich Harris <rich.harris@vercel.com>
Co-authored-by: Conduitry <git@chor.date>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants