D17204: BrightScript: Allow sub to be unnamed
David Faure
noreply at phabricator.kde.org
Fri Nov 30 10:46:48 GMT 2018
dfaure added a comment.
It seems this commit is the reason for the unittest failure below?
https://build.kde.org/job/Frameworks/view/Everything/job/syntax-highlighting/job/kf5-qt5%20SUSEQt5.10/258/testReport/junit/(root)/TestSuite/folding_test/
--- "/home/jenkins/workspace/Frameworks/syntax-highlighting/kf5-qt5 SUSEQt5.10/autotests/folding/brightscript.brs.fold" 2018-11-28 07:43:45.708060965 +0000
+++ "/home/jenkins/workspace/Frameworks/syntax-highlighting/kf5-qt5 SUSEQt5.10/build/autotests/folding.out/brightscript.brs.fold" 2018-11-28 07:45:08.202953752 +0000
@@ -96,4 +96,10 @@
b.foo("string",1,{a:b},1.5,[1,2,3])
a = b.foo("string",1,{a:b},1.5,[1,2,3])
+
+unnamed_function = function ( a as Integer ) as Float
+end function
+
+unnamed_sub = sub ( a as Integer ) as Void
+end sub
endFunction
FAIL! : FoldingTest::testFolding(brightscript.brs) Compared values are not the same
Actual (proc.exitCode()): 1
Expected (0) : 0
REPOSITORY
R216 Syntax Highlighting
REVISION DETAIL
https://phabricator.kde.org/D17204
To: dlevin, cullmann
Cc: dfaure, kwrite-devel, kde-frameworks-devel, hase, michaelh, ngraham, bruns, demsking, cullmann, sars, dhaumann
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kwrite-devel/attachments/20181130/3221a0ed/attachment-0001.html>
More information about the KWrite-Devel
mailing list