@@ -8,7 +8,6 @@ import UntypedPlutusCore
8
8
import UntypedPlutusCore.Generators.Hedgehog.AST (genProgram , genTerm , mangleNames , runAstGen )
9
9
import UntypedPlutusCore.Mark
10
10
import UntypedPlutusCore.Rename.Internal
11
- import UntypedPlutusCore.Transform.CaseOfCase (caseOfCase )
12
11
import UntypedPlutusCore.Transform.CaseReduce (caseReduce )
13
12
import UntypedPlutusCore.Transform.Cse (cse )
14
13
import UntypedPlutusCore.Transform.FloatDelay (floatDelay )
@@ -70,13 +69,9 @@ test_names = testGroup "names"
70
69
rename
71
70
, T. test_scopingSpoilRenamer (genProgram @ DefaultFun ) markNonFreshProgram
72
71
renameProgramM
73
- , T. test_scopingGood " case-of-case" (genTerm @ DefaultFun ) T. BindingRemovalOk T. PrerenameYes $
74
- evalSimplifierT . caseOfCase
75
- , -- COKC removes entire branches, some of which are going to contain binders, but we still use
76
- -- 'BindingRemovalNotOk', because the 'EstablishScoping' instance does not attempt to
77
- -- reference bindings from one branch in another one. We could do that, but then we'd be
78
- -- removing not just TODO.
79
- T. test_scopingGood " case-of-known-constructor"
72
+ -- We don't test case-of-case, because it duplicates binders and we don't support that in the
73
+ -- scoping tests machinery.
74
+ , T. test_scopingGood " case-of-known-constructor"
80
75
(genTerm @ DefaultFun )
81
76
T. BindingRemovalOk -- COKC removes branches, which may (and likely do) contain bindings.
82
77
T. PrerenameYes
0 commit comments