From f1c928a6b858784812b4c2b8f55c58fe77554917 Mon Sep 17 00:00:00 2001 From: Alexandre Terrasa Date: Mon, 12 Nov 2012 20:01:05 -0500 Subject: [PATCH] typing: change abort to assert in ASendExpr Signed-off-by: Alexandre Terrasa --- src/typing.nit | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/typing.nit b/src/typing.nit index ca0c64d..1f97347 100644 --- a/src/typing.nit +++ b/src/typing.nit @@ -1096,7 +1096,7 @@ redef class ASendExpr var mproperty = propdef.mproperty self.mproperty = mproperty var msignature = propdef.msignature - if msignature == null then abort # Forward error + assert msignature != null # msignature should never be null here var for_self = self.n_expr isa ASelfExpr msignature = v.resolve_signature_for(msignature, recvtype, for_self) -- 1.7.9.5