Skip to content

Haskell syntax highlighter not working for multiline strings #25

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
7c950f7b7c11ed485b0e7d72216ca36ebc86b58b

0.225.10+stable.184.7c950f7b7c11ed485b0e7d72216ca36ebc86b58b

Windows

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions