Skip to content

Doesn't compile with vector-0.13 (with --allow-newer in order to ignore the bound from .cabal) #6

@Mikolaj

Description

@Mikolaj

Compiles fine with vector-0.12.3.1. The failure is

[41 of 44] Compiling Data.Strict.Vector.Autogen.Mutable ( src/Data/Strict/Vector/Autogen/Mutable.hs, dist/build/Data/Strict/Vector/Autogen/Mutable.o, dist/build/Data/Strict/Vector/Autogen/Mutable.dyn_o )

src/Data/Strict/Vector/Autogen/Mutable.hs:161:3: error:
    Data constructor not in scope:
      INTERNAL_CHECK :: t2 -> String -> String -> Bool -> m2 () -> m ()
    |
161 |   INTERNAL_CHECK(check) "moveBackwards" "not a backwards move" (dstOff < srcOff)
    |   ^^^^^^^^^^^^^^

src/Data/Strict/Vector/Autogen/Mutable.hs:161:18: error:
    Variable not in scope: check
    |
161 |   INTERNAL_CHECK(check) "moveBackwards" "not a backwards move" (dstOff < srcOff)
    |                  ^^^^^

src/Data/Strict/Vector/Autogen/Mutable.hs:168:3: error:
    Data constructor not in scope:
      INTERNAL_CHECK :: t1 -> String -> String -> Bool -> m1 () -> m ()
    |
168 |   INTERNAL_CHECK(check) "moveForwardsSmallOverlap" "not a forward move" (dstOff > srcOff)
    |   ^^^^^^^^^^^^^^

src/Data/Strict/Vector/Autogen/Mutable.hs:168:18: error:
    Variable not in scope: check
    |
168 |   INTERNAL_CHECK(check) "moveForwardsSmallOverlap" "not a forward move" (dstOff > srcOff)
    |                  ^^^^^

src/Data/Strict/Vector/Autogen/Mutable.hs:179:3: error:
    Data constructor not in scope:
      INTERNAL_CHECK :: t0 -> String -> String -> Bool -> m0 () -> m ()
    |
179 |   INTERNAL_CHECK(check) "moveForwardsLargeOverlap" "not a forward move" (dstOff > srcOff)
    |   ^^^^^^^^^^^^^^

src/Data/Strict/Vector/Autogen/Mutable.hs:179:18: error:
    Variable not in scope: check
    |
179 |   INTERNAL_CHECK(check) "moveForwardsLargeOverlap" "not a forward move" (dstOff > srcOff)
    |                  ^^^^^
Error: cabal: Failed to build strict-containers-0.1 (which is required by
test:shortTestForCI from horde-ad-0.1.0.0, test:minimalTest from
horde-ad-0.1.0.0 and others). See the build log above for details.

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