diff --git a/.github/ISSUE_TEMPLATE/bug.md b/.github/ISSUE_TEMPLATE/bug.md index 6e53805900c4..8feba58c44d7 100644 --- a/.github/ISSUE_TEMPLATE/bug.md +++ b/.github/ISSUE_TEMPLATE/bug.md @@ -9,19 +9,33 @@ assignees: '' ## Compiler version -If you're not sure what version you're using, run `print scalaVersion` from sbt -(if you're running scalac manually, use `scalac -version` instead). +If you're not sure which version you're using, run `print scalaVersion` from sbt. +(If you're running scalac manually, use `scalac -version` instead.) + +If possible, check if your issue appears in the nightly version of the compiler! For example, in Scala CLI (the `scala`/`scala-cli` runner script), you can use `//> using scala 3.nightly` (or `-S 3.nightly` from the command line) to grab the latest one. ## Minimized code -```Scala -println("hello, world") +```scala +//> using scala 3.7.0 +//> using options -Wall -Werror +//> using dep com.outr::scribe:3.16.1 + +@main def test = println("hello, world") ``` ## Output