Hi Peter,
Nice catch :). Let me explain.
Indeed, we are working right now on the new examples engine, and last night we switched
the Moose configurations to use the new engine.
The new engine no longer uses pragmas to describe dependencies, but plain unary message
sends. So, now the engine recognizes these dependencies:
exampleA
<gtExample>
^ 41
exampleB
<gtExample>
| a |
a := self exampleA.
^ a + 1
Cheers,
Doru
On Oct 7, 2017, at 2:41 PM, Peter Uhnák
<i.uhnak(a)gmail.com> wrote:
Hi,
apparently CompiledMethod>>#isGTExampleMethod
has been changed from
isGTExampleMethod
^ self pragmas anySatisfy: [ :each | each isGTExamplePragma ]
to
isGTExampleMethod
^ (self pragmas anySatisfy: [ :each | each isGTExamplePragma ])
and: [ self numArgs = 0 ]
(
https://github.com/feenkcom/gtoolkit-examples/blob/master/src/GToolkit-Exam…
, also strange that I don't see the history of the method on github).
In either case this means that if an example has dependencies it is no longer an example,
because it has arguments.
Thanks,
Peter
_______________________________________________
Moose-dev mailing list
Moose-dev(a)list.inf.unibe.ch
https://www.list.inf.unibe.ch/listinfo/moose-dev
--
www.tudorgirba.com
www.feenk.com
"Presenting is storytelling."