Skip to content

Commit c48a8e4

Browse files
committed
All misc tests green
1 parent 10f51f7 commit c48a8e4

File tree

4 files changed

+1
-2
lines changed

4 files changed

+1
-2
lines changed

compiler/test/dotty/tools/dotc/CompilationTests.scala

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -301,7 +301,6 @@ class CompilationTests extends ParallelTesting {
301301
val options = defaultOptions.and("-Ycheck-init", "-Xfatal-warnings")
302302
aggregateTests(
303303
compileFilesInDir("tests/init/neg/", options),
304-
compileFilesInDir("tests/init/neg/misc", options),
305304
compileFilesInDir("tests/init/neg/crash", options),
306305
)
307306
}.checkExpectedErrors()
File renamed without changes.
File renamed without changes.

tests/init/neg/misc/assignments.scala renamed to tests/init/pos/assignments.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ object assignments {
1717

1818
var c = new C
1919
c.x =c.x + 1
20-
c.x *= 2
20+
c.x = c.x * 2
2121

2222
val cc = c
2323
import cc._

0 commit comments

Comments
 (0)