We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c5cd3ae commit f7db381Copy full SHA for f7db381
tests/pos-with-compiler/Patterns.scala
@@ -2,7 +2,7 @@ import dotty.tools.dotc.ast.Trees.*
2
import dotty.tools.dotc.core.Types.*
3
4
object Patterns {
5
- val d: Object = null
+ val d: Object = Object()
6
private def rebase(tp: NamedType): Type = {
7
def rebaseFrom(prefix: Type): Type = ???
8
tp.prefix match {
tests/pos-with-compiler/lazyValsSepComp.scala
@@ -10,7 +10,7 @@ import dotty.tools.dotc.core.Contexts.*
10
11
/** A test to trigger issue with separate compilation and lazy vals */
12
object Foo {
13
- val definitions: Definitions = null
+ val definitions: Definitions = null.asInstanceOf[Definitions]
14
def defn = definitions
15
def go = defn.ScalaBoxedClasses
16
}
0 commit comments