@@ -49,7 +49,6 @@ enum IrError(val Γ: Context, e: Throwable | Null = null) extends Exception(e):
49
49
case MissingDefinition (qn : QualifiedName ) extends IrError (Context .empty)
50
50
case MissingField (name : Name , qn : QualifiedName ) extends IrError (Context .empty)
51
51
case MissingFieldsInCoPattern (clause : PreClause )(using Γ: Context ) extends IrError (Γ)
52
- case MissingOperation (name : Name , qn : QualifiedName ) extends IrError (Context .empty)
53
52
case MissingUserCoPattern (clause : PreClause )(using Γ: Context ) extends IrError (Γ)
54
53
case NonEmptyType (ty : VTerm , source : PreClause )(using Γ: Context ) extends IrError (Γ)
55
54
case NotCConvertible (sub : CTerm , sup : CTerm , ty : Option [CTerm ])(using Γ: Context )
@@ -60,12 +59,6 @@ enum IrError(val Γ: Context, e: Throwable | Null = null) extends Exception(e):
60
59
case NotDataTypeType (tm : CTerm )(using Γ: Context ) extends IrError (Γ)
61
60
case NotLevelType (tm : VTerm )(using Γ: Context ) extends IrError (Γ)
62
61
case NotEffectSubsumption (sub : VTerm , sup : VTerm )(using Γ: Context ) extends IrError (Γ)
63
- case NotEqDecidabilitySubsumption (sub : VTerm , sup : VTerm )(using Γ: Context ) extends IrError (Γ)
64
- case NotHandlerTypeSubsumption (sub : VTerm , sup : VTerm )(using Γ: Context ) extends IrError (Γ)
65
- case NotEqDecidableDueToConstructor
66
- (qn : QualifiedName , conName : Name , badComponentIndex : Nat )
67
- (using Γ: Context ) extends IrError (Γ)
68
- case NotEqDecidableType (ty : VTerm )(using Γ: Context ) extends IrError (Γ)
69
62
case NotLevelSubsumption (sub : VTerm , sup : VTerm )(using Γ: Context ) extends IrError (Γ)
70
63
case NotTypeError (tm : VTerm )(using Γ: Context ) extends IrError (Γ)
71
64
case NotUsageSubsumption (sub : VTerm , sup : VTerm )(using Γ: Context ) extends IrError (Γ)
@@ -94,13 +87,11 @@ enum IrError(val Γ: Context, e: Throwable | Null = null) extends Exception(e):
94
87
(using Γ: Context ) extends IrError (Γ, cause)
95
88
case DataLevelCannotDependOnIndexArgument (preData : PreDeclaration .PreData )(using Γ: Context )
96
89
extends IrError (Γ)
97
- case DataEqDecidabilityCannotDependOnIndexArgument
98
- (preData : PreDeclaration .PreData )
99
- (using Γ: Context ) extends IrError (Γ)
100
90
case DuplicatedDeclaration (qn : QualifiedName ) extends IrError (Context .empty)
101
91
case UnableToFindUsageMeetDuringUnification (lowerBounds : Set [VTerm ])(using Γ: Context )
102
92
extends IrError (Γ)
103
93
case InternalIrError (message : String )(using Γ: Context ) extends IrError (Γ)
104
94
case ComplexOperationCall (call : CTerm .OperationCall )(using Γ: Context ) extends IrError (Γ)
105
95
case ExpectEffectInstance (badEffInstance : VTerm )(using Γ: Context ) extends IrError (Γ)
96
+ case ExpectEffectInstanceTypeSubsumption (sub : VTerm , sup : VTerm )(using Γ: Context ) extends IrError (Γ)
106
97
override def getMessage : String = verbosePPrinter.apply(this ).plainText
0 commit comments