From fd300e3e076fd8eb895ca5d9bb5dc76e25e71948 Mon Sep 17 00:00:00 2001 From: Fedor Isakov Date: Tue, 21 Jan 2020 15:32:46 +0100 Subject: [PATCH] Add null guard before invoking pattern match, avoid NPE. --- ...ains.mps.coderules.typechecking.plugin.mps | 22 +++++++++++++------ 1 file changed, 15 insertions(+), 7 deletions(-) diff --git a/coderules/solutions/jetbrains.mps.coderules.typechecking/models/jetbrains.mps.coderules.typechecking.plugin.mps b/coderules/solutions/jetbrains.mps.coderules.typechecking/models/jetbrains.mps.coderules.typechecking.plugin.mps index 74457746..6746654c 100644 --- a/coderules/solutions/jetbrains.mps.coderules.typechecking/models/jetbrains.mps.coderules.typechecking.plugin.mps +++ b/coderules/solutions/jetbrains.mps.coderules.typechecking/models/jetbrains.mps.coderules.typechecking.plugin.mps @@ -2090,16 +2090,24 @@ - - - - - - - + + + + + + + + + + + + + + +