Skip to content

Commit ab6741b

Browse files
committed
Enable Scala2Compat deprecation warning
1 parent dfcc0b1 commit ab6741b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler/src/dotty/tools/dotc/Driver.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ class Driver {
7575
inContext(ictx) {
7676
if !ctx.settings.YdropComments.value || ctx.mode.is(Mode.ReadComments) then
7777
ictx.setProperty(ContextDoc, new ContextDocstrings)
78-
if Feature.enabledBySetting(nme.Scala2Compat) && false then // TODO: enable
78+
if Feature.enabledBySetting(nme.Scala2Compat) then
7979
report.warning("-language:Scala2Compat will go away; use -source 3.0-migration instead")
8080
val fileNames = CompilerCommand.checkUsage(summary, sourcesRequired)
8181
fromTastySetup(fileNames, ctx)

0 commit comments

Comments
 (0)