File tree 2 files changed +1
-6
lines changed
compiler/src/dotty/tools/dotc 2 files changed +1
-6
lines changed Original file line number Diff line number Diff line change @@ -4815,11 +4815,6 @@ object Types {
4815
4815
/** The type of an import clause tree */
4816
4816
case class ImportType (expr : Tree ) extends UncachedGroundType
4817
4817
4818
- /** Sentinal for typed export clauses */
4819
- @ sharable case object ExportType extends CachedGroundType {
4820
- override def computeHash (bs : Binders ): Int = hashSeed
4821
- }
4822
-
4823
4818
/** Sentinel for "missing type" */
4824
4819
@ sharable case object NoType extends CachedGroundType {
4825
4820
override def computeHash (bs : Binders ): Int = hashSeed
Original file line number Diff line number Diff line change @@ -512,7 +512,7 @@ trait TypeAssigner {
512
512
tree.withType(sym.termRef)
513
513
514
514
def assignType (tree : untpd.Export )(using Context ): Export =
515
- tree.withType(ExportType )
515
+ tree.withType(defn. UnitType )
516
516
517
517
def assignType (tree : untpd.Annotated , arg : Tree , annot : Tree )(using Context ): Annotated = {
518
518
assert(tree.isType) // annotating a term is done via a Typed node, can't use Annotate directly
You can’t perform that action at this time.
0 commit comments