~jan0sch/smederee

Showing details for patch 16a8174ea11cba7d2c90f2427654fb55172b7cfe.
2023-05-11 (Thu), 8:25 AM - Jens Grassel - 16a8174ea11cba7d2c90f2427654fb55172b7cfe

Compiler flags: cleanup settings in build config and add documentation.

Summary of changes
1 files modified with 8 lines added and 7 lines removed
  • build.sbt with 8 added and 7 removed lines
diff -rN -u old-smederee/build.sbt new-smederee/build.sbt
--- old-smederee/build.sbt	2025-01-30 22:42:20.708232516 +0000
+++ new-smederee/build.sbt	2025-01-30 22:42:20.708232516 +0000
@@ -25,13 +25,14 @@
         "-language:higherKinds",
         "-language:implicitConversions",
         "-unchecked",
-        "-Wunused:imports", // Warn on unused imports including given and wildcard imports.
-        "-Wunused:linted",
-        "-Wunused:locals",
-        "-Wunused:params",
-        "-Wunused:privates",
-        "-Wunused:unsafe-warn-patvars",
-        "-Wvalue-discard",
+        "-Wunused:imports",             // Warn on unused imports including given and wildcard imports.
+        "-Wunused:linted",              // TODO: Find out what this does!
+        "-Wunused:locals",              // Warn on unused local definitions.
+        "-Wunused:nowarn",              // Warn on unused (useless) `@nowarn` annotations.
+        "-Wunused:params",              // Warn on unused parameters.
+        "-Wunused:privates",            // Warn on unused private definitions.
+        "-Wunused:unsafe-warn-patvars", // TODO: Find out what this does!
+        "-Wvalue-discard",              // Warn on discarding computed values.
         //"-Xfatal-warnings", // FIXME: Make this work despite of Twirl!
         "-Ykind-projector",
     ),