We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4e727ed commit e610f1aCopy full SHA for e610f1a
packages/svelte/src/compiler/errors.js
@@ -14,7 +14,7 @@ class InternalCompileError extends Error {
14
*/
15
constructor(code, message, position) {
16
super(message);
17
- // this.stack = ''; // avoid unnecessary noise; don't set it as a class property or it becomes enumerable
+ this.stack = ''; // avoid unnecessary noise; don't set it as a class property or it becomes enumerable
18
// We want to extend from Error so that various bundler plugins properly handle it.
19
// But we also want to share the same object shape with that of warnings, therefore
20
// we create an instance of the shared class an copy over its properties.
0 commit comments