File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -204,7 +204,7 @@ and both stores it on disk, and uses the compiled bytecode. On subsequent
204
204
loads, Rakudo prefers to load the bytecode, because that tends to be
205
205
significantly faster.
206
206
207
- = head2 Can I have circular dependencies?
207
+ = head2 Can I have circular dependencies between modules ?
208
208
X < |Circular dependencies (FAQ) >
209
209
210
210
No, you can't have circular dependencies, and you should
@@ -222,6 +222,11 @@ one pass parsing. We have to know what A means when we parse B, and we
222
222
have to know what B means when we parse A, which is clearly an
223
223
infinite loop.
224
224
225
+ Note that Perl 6 has no “1 file = 1 class” limitation, and circular
226
+ dependencies within a single compilation unit (e.g. file) are possible
227
+ through stubbing. Therefore another possible solution is to move
228
+ classes into the same compilation unit.
229
+
225
230
= head1 Language Features
226
231
227
232
= head2 How can I dump Perl 6 data structures
You can’t perform that action at this time.
0 commit comments