Skip to content

Evaluate lens only comments the first line of multiline output #2907

Closed
@konsumlamm

Description

@konsumlamm

Steps to reproduce

Code:

module Lib where

data MultiLine = MultiLine

instance Show MultiLine where
    show MultiLine = "Multi\nLine"

-- >>> MultiLine

Click Evaluate...:

multiline1

Expected behaviour

multiline3

Actual behaviour

multiline2

Versions

GHC: 9.2.2, 9.0.2, 8.10.7
HLS: 1.7.0.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    component: hls-eval-plugintype: bugSomething isn't right: doesn't work as intended, documentation is missing/outdated, etc..

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions