Created
October 19, 2012 06:30
-
-
Save am0c/3916541 to your computer and use it in GitHub Desktop.
Perl6 bug or not?
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
am0c@amolap:~/local/pt$ cat MainWindow.pm | |
use Listener; | |
class MainWindow { | |
has Listener $.listener; | |
} | |
am0c@amolap:~/local/pt$ cat Listener.pm | |
use MainWindow; | |
class Listener { | |
has MainWindow $.app; | |
} | |
am0c@amolap:~/local/pt$ cat test.pl | |
use v6; | |
use MainWindow; | |
MainWindow.new; | |
am0c@amolap:~/local/pt$ perl6 -I. test.pl | |
===SORRY!=== | |
Circular module loading detected involving module 'MainWindow' | |
am0c@amolap:~/local/pt$ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment