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

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions