plutus icon indicating copy to clipboard operation
plutus copied to clipboard

[Bug] Fix 'isNormalType' and add 'prop_normalizedTypeIsNormal'

Open effectfully opened this issue 1 year ago • 0 comments

This fixes a bug in isNormalType and adds a test. Without the bug fixed the test fails with

  PlutusCore.Generators.QuickCheck
    TypesTests
      normalizedTypeIsNormal: FAIL
        *** Failed! 'normalizeType' returned a non-normal type (after 8 tests and 1 shrink):
        k,ty = (*, list unit)

as expected.

Resolves #6033.

effectfully avatar Jul 01 '24 08:07 effectfully