From: Hannu Niemistö Date: Wed, 28 Dec 2016 10:46:48 +0000 (+0200) Subject: Improvements to SCL compiler error messages X-Git-Tag: v1.26.0~11 X-Git-Url: https://gerrit.simantics.org/r/gitweb?p=simantics%2Fplatform.git;a=commitdiff_plain;h=e73c1660b2f4d2a03784451e9e6afe1552b00877;hp=e73c1660b2f4d2a03784451e9e6afe1552b00877 Improvements to SCL compiler error messages Better error message if type annotation has different number of parameters than the function definition. Refactored method names, we have now getSyntacticFunctionArity for estimating function arity without type information and getFunctionDefinitionPatternArity for arity calculations of patterns. refs #6897 Change-Id: I032ee0e5da416f232517d1e03c7a7cb0208c4d45 ---