-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
// scalac: -Xfatal-warnings | ||
|
||
class Foo { | ||
|
||
val s: String = ??? | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
// scalac: -Ysafe-init | ||
|
||
class C1: | ||
sealed abstract class Name { | ||
type ThisName <: Name | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
// scalac: -Ytest-pickler -Xprint-types | ||
|
||
class B: | ||
def g: String | Null = ??? | ||
|
||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
// scalac: -Xfatal-warnings | ||
|
||
import scala.language.unsafeNulls | ||
|
||
def test1 = | ||
|
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
// scalac: -Yno-experimental | ||
|
||
import annotation.experimental | ||
|
||
@experimental trait Exp | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
// scalac: -Xfatal-warnings -deprecation | ||
|
||
@deprecated trait Exp | ||
@deprecated val exp = 1 | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
// scalac: -Xfatal-warnings | ||
|
||
import scala.reflect.ClassTag | ||
|
||
object IsInstanceOfClassTag { | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
// scalac: -Xfatal-warnings | ||
|
||
import scala.reflect.TypeTest | ||
|
||
object IsInstanceOfClassTag { | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
// scalac: -language:experimental.captureChecking -Xfatal-warnings | ||
|
||
class C | ||
type Cap = C^ | ||
|
||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
// scalac: -Xfatal-warnings | ||
|
||
import scala.language.`future-migration` | ||
import scala.reflect.ClassTag | ||
|
||
|