Skip to content

Haskell syntax highlighter not working for multiline strings #50446

@xaviershay

Description

@xaviershay

Reproduction steps

Use the following haskell snippet with GHC >= 9.12.1

{-# LANGUAGE MultilineStrings #-}

x = """
  Hello
"""

Current vs. Expected behavior

Current behaviour:

Image

Note the "ERROR" nodes in the syntax tree, and the failure to highlight "Hello" as a string.

Zed version and system specs

Zed 0.225.10
7c950f7

0.225.10+stable.184.7c950f7b7c11ed485b0e7d72216ca36ebc86b58b

Windows

Attach Zed log file

Zed.log

Relevant Zed settings

settings.json

Relevant Keymap

keymap.json

(for AI issues) Model provider details

No response

If you are using WSL on Windows, what flavor of Linux are you using?

None

Metadata

Metadata

Assignees

No one assigned

    Labels

    state:needs triagetriage is not complete: no `area:*` label, or no `priority:*`/`frequency:*` for Bugs/Crashes

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions