This repository was archived by the owner on Sep 1, 2020. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed
src/compiler/scala/tools/nsc/typechecker
junit/scala/tools/nsc/doc/html Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -1134,13 +1134,13 @@ abstract class RefChecks extends InfoTransform with scala.reflect.internal.trans
1134
1134
t hasSymbolWhich (_.accessedOrSelf == valOrDef.symbol)
1135
1135
case _ => false
1136
1136
}
1137
- val trivialInifiniteLoop = (
1137
+ val trivialInfiniteLoop = (
1138
1138
! valOrDef.isErroneous
1139
1139
&& ! valOrDef.symbol.isValueParameter
1140
1140
&& valOrDef.symbol.paramss.isEmpty
1141
1141
&& callsSelf
1142
1142
)
1143
- if (trivialInifiniteLoop )
1143
+ if (trivialInfiniteLoop )
1144
1144
reporter.warning(valOrDef.rhs.pos, s " ${valOrDef.symbol.fullLocationString} does nothing other than call itself recursively " )
1145
1145
}
1146
1146
Original file line number Diff line number Diff line change @@ -46,7 +46,7 @@ object TestSetterInline {
46
46
* The access of the local variable 'y' should be replaced by the
47
47
* constant.
48
48
*/
49
- object TestAliasChainConstat {
49
+ object TestAliasChainConstant {
50
50
51
51
def main (args : Array [String ]): Unit = {
52
52
val x = 2
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ import scala.tools.testing.AssertUtil._
10
10
@ RunWith (classOf [JUnit4 ])
11
11
class HtmlDocletTest {
12
12
@ Test
13
- def testSyntaxHighlightningUnicode () {
13
+ def testSyntaxHighlightingUnicode () {
14
14
val in = " unicode: …"
15
15
16
16
val out = SyntaxHigh (in).toString
You can’t perform that action at this time.
0 commit comments