~jan0sch/smederee

Showing details for patch 59a780ad49cbb7be1489520f53cdffb566267625.
2023-05-11 (Thu), 9:32 AM - Jens Grassel - 59a780ad49cbb7be1489520f53cdffb566267625

Compiler flags: enforce syntax rules to prevent mixing of different styles.

- prevent usage of indent based syntax
- enforce usage of classical syntax
Summary of changes
1 files modified with 2 lines added and 0 lines removed
  • build.sbt with 2 added and 0 removed lines
diff -rN -u old-smederee/build.sbt new-smederee/build.sbt
--- old-smederee/build.sbt	2025-01-30 22:45:04.752503692 +0000
+++ new-smederee/build.sbt	2025-01-30 22:45:04.752503692 +0000
@@ -24,6 +24,8 @@
         "-feature",
         "-language:higherKinds",
         "-language:implicitConversions",
+        "-no-indent",  // Prevent usage of indent based syntax.
+        "-old-syntax", // Enforce classic syntax.
         "-unchecked",
         "-Wunused:imports",             // Warn on unused imports including given and wildcard imports.
         "-Wunused:linted",              // TODO: Find out what this does!