Closed Martinix75 closed 1 year ago
You have to use three backticks, instead of one for pieces of code (I modified your post). No worries about disturbing me, I'm glad you find the library useful and are testing it :)
I made a new commit that fixes your issue (I hope).
You will need an additional package. You can install it by doing
nimble install astpatternmatching
did some tests and it seems that it works perfectly! Also the installation of the "ASTPATERMATCHING" package. I would say to close the post (if in the future I observe other problems in this regard I will make a new one).
Good morning, I'm sorry to always disturb for various problems, if you can sorry. But I found another problem very similar to that of the other time. This time it concerns "Newgridlayout" (always in the hypothesis that I don't do mistakes !!). If I fill in the following test program everything is fine and the compilation is successful:
But if I change and do:
It gives me the error: ......................................................................................................................................................................................................... stack trace: (most recent call last) /home/andrea/.nimble/pkgs/nimqt-0.1/nimqt.nim(634, 9) makeLayout2 /home/andrea/.nimble/pkgs/nimqt-0.1/nimqt.nim(606, 25) helper /home/andrea/.nimble/pkgs/nimqt-0.1/nimqt.nim(606, 25) helper /home/andrea/.nimble/pkgs/nimqt-0.1/nimqt.nim(582, 27) helper /home/andrea/bin/nim/lib/core/macros.nim(640, 24) expectKind /home/andrea/ownCloud/In_Sviluppo/NimQt/gui2_2_c.nim(18, 9) template/generic instantiation of
makeLayout
from here /home/andrea/ownCloud/In_Sviluppo/NimQt/gui2_2_c.nim(22, 29) Error: Expected a node of kind nnkIdent, got nnkCommandAs usual maybe I am wrong something? Or do you have any problems? Thanks for your patience. bye by Martin A.
p.s. This time I used '' but I don't see the formatted code !! :((