I have reproduced the issue on the latest CLI version.
Yes, I am on the latest version
I have searched existing posts and this report is not a duplicate.
Yes, this isn’t a duplicate
In which of these areas are you experiencing a problem?
Theme
Expected behavior
While I appreciate “include” is deprecated, there’s no suitable replacement.
Actual behavior
Liquid syntax error (line 32): Expected colon but found end_of_string in…
Reproduction steps
Fire up shopify theme dev
Use a {%- include ‘snippet’ with a:b -%} statement
Theme error (although fine on a live theme)
Verbose output
N/A
Operating system
Windows 11
CLI version
4.8.5
Shell
Git Bash
Nodejs version
26.4.0
What language and version are you using in your application?
N/A