From 3d5a2063b5e65d74c5e45238c0e46c9074e29e0c Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jean-Christophe=20Beaupr=C3=A9?= Date: Thu, 1 Jun 2017 21:18:53 -0400 Subject: [PATCH] typing: Make `TypeVisitor::mclassdef` non-nullable MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Jean-Christophe Beaupré --- src/semantize/typing.nit | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/semantize/typing.nit b/src/semantize/typing.nit index 532d146..41b5eeb 100644 --- a/src/semantize/typing.nit +++ b/src/semantize/typing.nit @@ -43,7 +43,7 @@ private class TypeVisitor var anchor: nullable MClassType = null # The analyzed mclassdef - var mclassdef: nullable MClassDef = null + var mclassdef: MClassDef is noinit # The analyzed property var mpropdef: MPropDef -- 1.7.9.5