svelte icon indicating copy to clipboard operation
svelte copied to clipboard

Text expression with function calls aren't displayed in paragraph

Open Discusser opened this issue 1 year ago • 1 comments

Describe the bug

After updating svelte from 5.1.12 to 5.2.1, I noticed that text expressions containing function calls or property accesses weren't being displayed at all.

Reproduction

A minimal reproduction can be found here https://svelte.dev/playground/55158e4bc4154ec28e591b932225ccb1?version=5.2.1

Logs

No response

System Info

System:
    OS: Linux 6.2 Ubuntu 23.04 23.04 (Lunar Lobster)
    CPU: (8) x64 Intel(R) Core(TM) i7-7700HQ CPU @ 2.80GHz
    Memory: 10.75 GB / 15.49 GB
    Container: Yes
    Shell: 5.9 - /bin/zsh
  Binaries:
    Node: 20.13.1 - ~/.nvm/versions/node/v20.13.1/bin/node
    npm: 10.8.3 - ~/.nvm/versions/node/v20.13.1/bin/npm
    pnpm: 9.12.3 - ~/.local/share/pnpm/pnpm
  Browsers:
    Chrome: 130.0.6723.58
  npmPackages:
    @sveltejs/adapter-auto: ^3.3.1 => 3.3.1 
    @sveltejs/adapter-static: ^3.0.6 => 3.0.6 
    @sveltejs/kit: ^2.8.1 => 2.8.1 
    @sveltejs/vite-plugin-svelte: ^4.0.1 => 4.0.1 
    svelte: ^5.2.1 => 5.2.1 
    vite: ^5.4.11 => 5.4.11

Severity

annoyance

Additional Information

No response

Discusser avatar Nov 16 '24 12:11 Discusser

Looks like this was a regression caused by https://github.com/sveltejs/svelte/pull/14269.

trueadm avatar Nov 16 '24 13:11 trueadm