File tree 3 files changed +16
-0
lines changed
compiler/test/dotty/tools/dotc
3 files changed +16
-0
lines changed Original file line number Diff line number Diff line change @@ -55,6 +55,8 @@ class CompilationTests extends ParallelTesting {
55
55
compileFile(" ../tests/pos-scala2/rewrites.scala" , scala2Mode.and(" -rewrite" )).copyToTarget() +
56
56
compileFile(" ../tests/pos-special/utf8encoded.scala" , explicitUTF8) +
57
57
compileFile(" ../tests/pos-special/utf16encoded.scala" , explicitUTF16) +
58
+ compileFile(" ../tests/pos-special/i3323.scala" , defaultOptions.and(" -Xfatal-warnings" )) +
59
+ compileFile(" ../tests/pos-special/i3323b.scala" , defaultOptions.and(" -Xfatal-warnings" )) +
58
60
compileFile(" ../tests/pos-special/i3589-b.scala" , defaultOptions.and(" -Xfatal-warnings" )) +
59
61
compileList(
60
62
" compileMixed" ,
Original file line number Diff line number Diff line change
1
+ class Foo {
2
+ def foo [A ](lss : List [List [A ]]): Unit = {
3
+ lss match {
4
+ case xss : List [List [A ]] =>
5
+ }
6
+ }
7
+ }
Original file line number Diff line number Diff line change
1
+ class Foo {
2
+ def foo (lss : List [Int ]): Unit = {
3
+ lss match {
4
+ case xss : List [Int ] =>
5
+ }
6
+ }
7
+ }
You can’t perform that action at this time.
0 commit comments