File tree Expand file tree Collapse file tree 1 file changed +7
-3
lines changed
docs/docs/reference/dropped-features Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Original file line number Diff line number Diff line change 11---
22layout : doc-page
3- title : " Dropped: wildcard initializer "
3+ title : " Dropped: Wildcard Initializer "
44---
55
66The syntax
7+
78``` scala
89 var x : A = _
910```
11+
1012that was used to indicate an uninitialized field, has been dropped.
11- At its place there is a special value ` uninitialized ` in the ` scala.compiletime ` package. To get an uninitialized field, you now write
13+ At its place there is a special value ` uninitialized ` in the ` scala.compiletime ` package.
14+ To get an uninitialized field, you now write
15+
1216``` scala
1317import scala .compiletime .uninitialized
1418
1519var x : A = uninitialized
1620```
17- To enable cross-compilation, ` _ ` is still supported, but it will be dropped in a future 3.x version.
1821
22+ To enable cross-compilation, ` _ ` is still supported, but it will be dropped in a future 3.x version.
You can’t perform that action at this time.
0 commit comments