@@ -82,15 +82,15 @@ will raise the current task's world age to the latest global world age, thus mak
82
82
(both from the current task and any concurrently executing other tasks) visible. The following statements
83
83
raise the current world age:
84
84
85
- 1. An explicit invocation of `Core.@latestworld`
86
- 2. The start of every top-level statement
87
- 3. The start of every REPL prompt
88
- 4. Any type or struct definition
89
- 5. Any method definition
90
- 6. Any constant declaration
91
- 7. Any global variable declaration (but not a global variable assignment)
92
- 8. Any `using`, `import`, `export` or `public` statement
93
- 9. Certain other macros like [`@eval`](@ref) (depends on the macro implementation)
85
+ 1 . An explicit invocation of ` Core.@latestworld `
86
+ 2 . The start of every top-level statement
87
+ 3 . The start of every REPL prompt
88
+ 4 . Any type or struct definition
89
+ 5 . Any method definition
90
+ 6 . Any constant declaration
91
+ 7 . Any global variable declaration (but not a global variable assignment)
92
+ 8 . Any ` using ` , ` import ` , ` export ` or ` public ` statement
93
+ 9 . Certain other macros like [ ` @eval ` ] ( @ref ) (depends on the macro implementation)
94
94
95
95
Note, however, that the current task's world age may only ever be permanently incremented at
96
96
top level. As a general rule, using any of the above statements in non-top-level scope is a syntax error:
0 commit comments