Skip to content

Update bug issue template #23148

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 18 additions & 5 deletions .github/ISSUE_TEMPLATE/bug.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,19 +9,32 @@ 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, you can use `//> using scala 3.nightly` to grab the latest one.

## Minimized code

<!--
This code should be self contained, compilable (with possible failures) and as small as possible.

Ideally, we should be able to just copy this code in a file and run `scalac` (and maybe `scala`) to reproduce the issue.
Ideally, we should be able to just copy this code to a file and run `scalac` (and maybe `scala`) to reproduce the issue.

If the code has external dependencies, please provide the `scala-cli` directives that describe them.

It's most convenient to also include `using` directives for the Scala version that demonstrates the problem,
any compiler command-line options, as well as dependencies. An example is provided.

It's also fine to paste the transcript of a REPL session. Note that some bugs may be specific to the REPL.
-->

```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
Expand Down