|
|
|
|
@ -262,12 +262,12 @@ export function flush_sync_in_effect() {
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Cannot commit a fork that was already committed or discarded
|
|
|
|
|
* Cannot commit a fork that was already discarded
|
|
|
|
|
* @returns {never}
|
|
|
|
|
*/
|
|
|
|
|
export function fork_discarded() {
|
|
|
|
|
if (DEV) {
|
|
|
|
|
const error = new Error(`fork_discarded\nCannot commit a fork that was already committed or discarded\nhttps://svelte.dev/e/fork_discarded`);
|
|
|
|
|
const error = new Error(`fork_discarded\nCannot commit a fork that was already discarded\nhttps://svelte.dev/e/fork_discarded`);
|
|
|
|
|
|
|
|
|
|
error.name = 'Svelte error';
|
|
|
|
|
|
|
|
|
|
|