]> gerrit.simantics Code Review - simantics/platform.git/commitdiff
Improvements to SCL compiler error messages 28/228/3
authorHannu Niemistö <hannu.niemisto@semantum.fi>
Wed, 28 Dec 2016 10:46:48 +0000 (12:46 +0200)
committerHannu Niemistö <hannu.niemisto@semantum.fi>
Wed, 28 Dec 2016 11:32:16 +0000 (13:32 +0200)
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


No differences found