!IhewBQAWBoXJDmnVOT:matrix.org

Tooling Contributors

1188 Members
for those actively working on tooling around Scala (build tools, IDEs, formatters, linters, etc)3 Servers

Load older messages


SenderMessageTime
6 Dec 2023
@_discord_1077605050949574676:t2bot.iopadron6296 changed their display name from padron to padron6296.13:20:18
@wormie:matrix.orgworm.queen joined the room.15:01:12
@_discord_622284531684343851:t2bot.iokimmmmmo joined the room.15:45:27
@wormie:matrix.orgworm.queen changed their display name from wormie to worm.queen.16:20:03
@_discord_887767525797019689:t2bot.ioszeiger This is the first codebase I've seen with -Ywarn-numeric-widen (and, of course, fatal warnings to make it extra annoying). What's the reason for this? Numeric widening to floating point types can be problematic but why would I ever want an error when passing an Int as a Long? 16:47:40
@_discord_583167330566275072:t2bot.iosethtisue I think a PR removing that would be accepted. 16:49:11
@_discord_583167330566275072:t2bot.iosethtisue a lot of cargo culting of compiler flags goes on out there. the commit message for the commit that added it is "Add recommended compiler flags" 16:50:08
@_discord_583167330566275072:t2bot.iosethtisue recommended by who 16:50:15
@_discord_583167330566275072:t2bot.iosethtisue * recommended by who... and why 16:50:31
@_discord_887767525797019689:t2bot.ioszeiger Huh, the existing code has lots of warnings that are reported as such despite -Xfatal-warnings 16:56:01
@_discord_583167330566275072:t2bot.iosethtisue looks like -Xfatal-warnings is enabled on 2.12 but not on 2.13 17:26:06
@_discord_583167330566275072:t2bot.iosethtisue
  def relaxNon212: Seq[Setting[_]] = Seq(
    scalacOptions := {
      val old = scalacOptions.value
      scalaBinaryVersion.value match {
        case "2.12" => old
        case _ =>
          old filterNot Set(
            "-Xfatal-warnings",
            "-deprecation",
            "-Ywarn-unused",
            "-Ywarn-unused-import"
          )
      }
    }
  )
17:27:19
@_discord_887767525797019689:t2bot.ioszeiger Ah, right, I thought it was the other way around (which would probably be better at this point) 17:45:38
@_discord_721474407935246456:t2bot.iosom-snytt The recommended flags are -Werror -Xlint. 17:51:49
@_discord_887767525797019689:t2bot.ioszeiger If that was the default we could add an advanced flag to turn it off called -Yolo 20:12:11
@_discord_222037924177248259:t2bot.iostyfros joined the room.20:17:26
7 Dec 2023
@_discord_767864748988432424:t2bot.iomarciocg joined the room.02:22:21
@_discord_1058801474672533576:t2bot.iomerlinorg joined the room.06:13:11
@_discord_427695888312565760:t2bot.ionatsukagami changed their display name from @natsukagami to natsukagami.11:46:21
@_discord_615462738289885185:t2bot.iotripleshotespresso joined the room.17:33:08
@_discord_839419909804523550:t2bot.iolittlewing87 joined the room.17:49:06
@_discord_491633899324047361:t2bot.iorossfreeman joined the room.18:43:42
8 Dec 2023
@_discord_1058801474672533576:t2bot.iomerlinorg changed their display name from wise_starfish_15473 to merlinorg.05:51:56
@_discord_918938697376874517:t2bot.iooliver_brm changed their display name from Oliver Marienfeld to oliver_brm.08:33:58
@_discord_974188264913264640:t2bot.ioalexd1199 joined the room.10:09:38
@_discord_632658164696743936:t2bot.iolrytz Seems -Ywarn-numeric-widen was added a long time ago in https://github.com/scala/scala/commit/fdfdd09d51 and basically left untouched and probably mostly unused. 11:23:17
@_discord_1181711741743284265:t2bot.ioleafywind2 joined the room.18:00:08
@_discord_252141382507036672:t2bot.iopaava007 joined the room.19:04:27
9 Dec 2023
@_discord_316549337167560706:t2bot.iounarist joined the room.07:17:18
@_discord_376643841857552384:t2bot.iojeengbe joined the room.13:31:05

There are no newer messages yet.


Back to Room ListRoom Version: 9