Skip to content

Crash "tried to use type operator source span" #3335

Description

@LiamGoodacre
Compiling Data.Typelevel.Num.Aliases
Compiling Data.Typelevel.Num.Ops
Error 1 of 2:

purs: An internal error occurred during compilation: "tried to use type operator source span"
Please report this at https://github.com/purescript/purescript/issues
CallStack (from HasCallStack):
  error, called at src/Language/PureScript/Crash.hs:24:3 in purescript-0.11.7-Ja85NVYTPb8Lo4vk0VOGDg:Language.PureScript.Crash
  internalError, called at src/Language/PureScript/Sugar/Operators/Types.hs:30:54 in purescript-0.11.7-Ja85NVYTPb8Lo4vk0VOGDg:Language.PureScript.Sugar.Operators.Types
* ERROR: Subcommand terminated with exit code 1

Reproduce:

  1. Clone branch bug/ops: https://github.com/LiamGoodacre/purescript-typelevel/tree/bug/ops
  2. bower i -p only install production dependencies
  3. pulp build

cc: @garyb

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions