[perl #128275] [BUG] Circular module dependency is not detected; causes program to hang

2016-05-29 Thread Sam S. via RT
Hm you're right, predeclaration doesn't seem to be the correct solution to your 
problem after all.

But this bug tracker is not the right place for Perl 6 user support, it should 
be reserved for collecting info on actual Rakudo bugs.
You should ask on the #perl6 IRC channel instead, I'm sure someone there can 
help you solve your programming problem.

As for the issue of Rakudo failing to detect the cyclic dependency and printing 
an appropriate error message for it, I've submitted a new ticket for that to 
keep it clean: [perl #128285]
I'm renaming this ticket here back to its original title, and I'm closing it.


[perl #128275] [BUG] Circular module dependency is not detected; causes program to hang

2016-05-28 Thread Sam S. via RT
Relevant info from IRC discussion:

  psch:   we did have circular module loading detection at some point... 
probably got clobbered with all the CUR work though :/
  lizmat: before, the detection lived in the nqp code, if I recall
  lizmat: now, it is the responsibility of the CUR to detect circularities
  lizmat: a start would be writing a test  :-)