We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent aaffb11 commit fe38137Copy full SHA for fe38137
compiler/src/dotty/tools/dotc/transform/init/Effects.scala
@@ -29,11 +29,11 @@ object Effects {
29
def toEffs: Effects = Vector(this)
30
}
31
32
- /** An effect means that a value that's possibly under initialization
+ /** A promotion effect means that a value that's possibly under initialization
33
* is promoted from the initializing world to the fully-initialized world.
34
*
35
* Essentially, this effect enforces that the object pointed to by
36
- * `potential` is fully initialized.
+ * `potential` is transitively initialized.
37
38
* This effect is trigger in several scenarios:
39
* - a potential is used as arguments to method calls or new-expressions
0 commit comments