Skip to content
This repository was archived by the owner on Jun 15, 2023. It is now read-only.
This repository was archived by the owner on Jun 15, 2023. It is now read-only.

Compile error with purescript 0.13 #86

@jedahu

Description

@jedahu

After updating the relevant dependencies to work with purescript 0.13...

[1/1 UnknownName] src/Text/Markdown/SlamDown/Pretty.purs:99:61

  99      SD.Link is tgt → "[" <> prettyPrintInlines is <> "]" <> printTarget tgt
                                                                  ^^^^^^^^^^^
  
  Unknown value printTarget

printTarget is indented under a where clause of prettyPrintInline. My guess is that purescript 0.12 scopes it to the function but 0.13 scopes it to the case clause. Outdenting the where clause or making printTarget a top-level definition fixes the error.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    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