File tree 8 files changed +8
-8
lines changed
docs/_docs/reference/experimental
tests/pos-with-compiler-cc
8 files changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -1169,7 +1169,7 @@ jobs:
1169
1169
needs : [build-msi-package]
1170
1170
with :
1171
1171
# Ensure that version starts with prefix 3.
1172
- # In the future it can be adapted to compare with with git tag or version set in the project/Build.scala
1172
+ # In the future it can be adapted to compare with git tag or version set in the project/Build.scala
1173
1173
version : " 3."
1174
1174
java-version : 8
1175
1175
Original file line number Diff line number Diff line change @@ -1143,7 +1143,7 @@ trait BCodeBodyBuilder extends BCodeSkelBuilder {
1143
1143
* - Every time when generating an ATHROW, a new basic block is started.
1144
1144
* - During classfile writing, such basic blocks are found to be dead: no branches go there
1145
1145
* - Eliminating dead code would probably require complex shifts in the output byte buffer
1146
- * - But there's an easy solution: replace all code in the dead block with with
1146
+ * - But there's an easy solution: replace all code in the dead block with
1147
1147
* `nop; nop; ... nop; athrow`, making sure the bytecode size stays the same
1148
1148
* - The corresponding stack frame can be easily generated: on entering a dead the block,
1149
1149
* the frame requires a single Throwable on the stack.
Original file line number Diff line number Diff line change @@ -71,7 +71,7 @@ abstract class Printer {
71
71
def changePrec (prec : Precedence )(op : => Text ): Text =
72
72
if (prec < this .prec) atPrec(prec) (" (" ~ op ~ " )" ) else atPrec(prec)(op)
73
73
74
- /** The name, possibly with with namespace suffix if debugNames is set:
74
+ /** The name, possibly with namespace suffix if debugNames is set:
75
75
* /L for local names, /V for other term names, /T for type names
76
76
*/
77
77
def nameString (name : Name ): String
Original file line number Diff line number Diff line change @@ -1348,7 +1348,7 @@ trait Applications extends Compatibility {
1348
1348
tree
1349
1349
}
1350
1350
1351
- /** Is `tp` a unary function type or an overloaded type with with only unary function
1351
+ /** Is `tp` a unary function type or an overloaded type with only unary function
1352
1352
* types as alternatives?
1353
1353
*/
1354
1354
def isUnary (tp : Type )(using Context ): Boolean = tp match {
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ The `betterFors` language extension improves the usability of `for`-comprehensio
8
8
9
9
The extension is enabled by the language import ` import scala.language.experimental.betterFors ` or by setting the command line option ` -language:experimental.betterFors ` .
10
10
11
- The biggest user facing change is the new ability to start ` for ` -comprehensions with with aliases. This means that the following previously invalid code is now valid:
11
+ The biggest user facing change is the new ability to start ` for ` -comprehensions with aliases. This means that the following previously invalid code is now valid:
12
12
13
13
``` scala
14
14
for
Original file line number Diff line number Diff line change @@ -1103,7 +1103,7 @@ trait BCodeBodyBuilder extends BCodeSkelBuilder {
1103
1103
* - Every time when generating an ATHROW, a new basic block is started.
1104
1104
* - During classfile writing, such basic blocks are found to be dead: no branches go there
1105
1105
* - Eliminating dead code would probably require complex shifts in the output byte buffer
1106
- * - But there's an easy solution: replace all code in the dead block with with
1106
+ * - But there's an easy solution: replace all code in the dead block with
1107
1107
* `nop; nop; ... nop; athrow`, making sure the bytecode size stays the same
1108
1108
* - The corresponding stack frame can be easily generated: on entering a dead the block,
1109
1109
* the frame requires a single Throwable on the stack.
Original file line number Diff line number Diff line change @@ -70,7 +70,7 @@ abstract class Printer extends Pure {
70
70
def changePrec (prec : Precedence )(op : => Text ): Text =
71
71
if (prec < this .prec) atPrec(prec) (" (" ~ op ~ " )" ) else atPrec(prec)(op)
72
72
73
- /** The name, possibly with with namespace suffix if debugNames is set:
73
+ /** The name, possibly with namespace suffix if debugNames is set:
74
74
* /L for local names, /V for other term names, /T for type names
75
75
*/
76
76
def nameString (name : Name ): String
Original file line number Diff line number Diff line change @@ -1182,7 +1182,7 @@ trait Applications extends Compatibility {
1182
1182
tree
1183
1183
}
1184
1184
1185
- /** Is `tp` a unary function type or an overloaded type with with only unary function
1185
+ /** Is `tp` a unary function type or an overloaded type with only unary function
1186
1186
* types as alternatives?
1187
1187
*/
1188
1188
def isUnary (tp : Type )(using Context ): Boolean = tp match {
You can’t perform that action at this time.
0 commit comments