[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    branches/KDE/4.5/kdeedu/kalgebra/src
From:       Aleix Pol Gonzalez <aleixpol () gmail ! com>
Date:       2010-10-27 18:21:45
Message-ID: 20101027182145.BC6E0AC897 () svn ! kde ! org
[Download RAW message or body]

SVN commit 1190458 by apol:

Backport fix from trunk to 4.5.

CCBUG: 255430


 M  +2 -0      function.cpp  


--- branches/KDE/4.5/kdeedu/kalgebra/src/function.cpp #1190457:1190458
@@ -49,6 +49,8 @@
 		//TODO: turn into assertion
 		if(!FunctionFactory::self()->contains(bvars))                                        
 			m_err << i18n("Function type not recognized");
+		else if(!a.isCorrect())
+			m_err << a.errors();
 		else {
 			bool correct=true;
 			ExpressionType expected=FunctionFactory::self()->type(bvars);
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic