]> gerrit.simantics Code Review - simantics/platform.git/commit
(refs #7460) Prevent NPE if variable type is null. 04/904/1
authorHannu Niemistö <hannu.niemisto@semantum.fi>
Sun, 3 Sep 2017 08:12:15 +0000 (11:12 +0300)
committerHannu Niemistö <hannu.niemisto@semantum.fi>
Sun, 3 Sep 2017 08:12:15 +0000 (11:12 +0300)
commit4658265095b85e44d386dd14124519f46bd3779a
tree86d2e3148dd19a098b3a2e38d079f0b14e34f2b8
parentae20feb8fa4c5c2534979df4b1496dfd57e37413
(refs #7460) Prevent NPE if variable type is null.

This may happen, if the variable is defined in a pattern and
the pattern type checking is not finished because of a type error.

Change-Id: I91aa4c7938769f84388fbc18f089b662e3ddcb9d
bundles/org.simantics.scl.compiler/src/org/simantics/scl/compiler/elaboration/expressions/EVariable.java