Skip to content

fix: improve partial evaluation #15781

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 26 commits into from
Apr 18, 2025
Merged
Changes from 1 commit
Commits
Show all changes
26 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
remove console log
  • Loading branch information
Ocean-OS committed Apr 17, 2025
commit e6c9e3498c6a7421aae2839ef1f0da5d307854a0
1 change: 0 additions & 1 deletion packages/svelte/src/compiler/phases/scope.js
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,6 @@
binding.kind === 'bindable_prop';

if (!binding.updated && binding.initial !== null && !is_prop) {
console.log(binding.initial);
const evaluation = binding.scope.evaluate(/** @type {Expression} */ (binding.initial));
for (const value of evaluation.values) {
this.values.add(value);
Expand Down Expand Up @@ -398,7 +397,7 @@
break;
}
}
default: {

Check failure on line 400 in packages/svelte/src/compiler/phases/scope.js

View workflow job for this annotation

GitHub Actions / Lint

Expected a 'break' statement before 'default'
this.values.add(UNKNOWN);
}
}
Expand Down
Loading