Skip to content

Commit 257f088

Browse files
authored
Merge pull request #3534 from dotty-staging/fix-verify-signature
-Xverify-signatures: emit errors, not warnings
2 parents bf9f055 + df42072 commit 257f088

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

compiler/src/dotty/tools/backend/jvm/DottyBackendInterface.scala

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -522,8 +522,8 @@ class DottyBackendInterface(outputDirectory: AbstractFile, val superCallsMap: Ma
522522
}
523523
}
524524

525-
if(!valid) {
526-
ctx.warning(
525+
if (!valid) {
526+
ctx.error(
527527
i"""|compiler bug: created invalid generic signature for $sym in ${sym.denot.owner.showFullName}
528528
|signature: $sig
529529
|if this is reproducible, please report bug at https://github.com/lampepfl/dotty/issues

0 commit comments

Comments
 (0)