Skip to content

Commit 8d551a9

Browse files
committed
Update comments on what does not work yet
1 parent c475cbf commit 8d551a9

File tree

3 files changed

+6
-2
lines changed

3 files changed

+6
-2
lines changed

compiler/src/dotty/tools/dotc/core/Flags.scala

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,10 @@ object Flags {
1818
}
1919
type FlagSet = opaques.FlagSet
2020
def FlagSet(bits: Long): FlagSet = opaques.FlagSet(bits)
21+
// DOTTY problem: would like to replace previous 2 lines with
22+
// export opaques.FlagSet
23+
// but this makes `def FlagSet` in `opaques` ill-typed.
24+
2125

2226
delegate FlagOps {
2327

compiler/src/dotty/tools/dotc/tastyreflect/KernelImpl.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ import dotty.tools.dotc.util.SourceFile
1717

1818
import scala.tasty.reflect.Kernel
1919

20-
import delegate Flags.FlagOps // DOTTY problem: this should not be needed as we should include prefixes of aliases in implicit scopes
20+
import delegate Flags.FlagOps // DOTTY problem: this line can be dropped in 0.17 once #6712 is in bootstrap.
2121

2222
class KernelImpl(val rootContext: core.Contexts.Context, val rootPosition: util.SourcePosition) extends Kernel {
2323

compiler/src/dotty/tools/dotc/typer/Variances.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ package typer
33

44
import core._
55
import Types._, Contexts._, Flags._, Symbols._, Annotations._
6-
import delegate Flags.FlagOps // DOTTY problem: this should not be needed as we should include prefixes of aliases in implicit scopes
6+
import delegate Flags.FlagOps // DOTTY problem: this line can be dropped in 0.17 once #6712 is in bootstrap.
77

88
object Variances {
99

0 commit comments

Comments
 (0)