Skip to content

Commit 041b211

Browse files
committed
Too many words?
1 parent bce922a commit 041b211

File tree

1 file changed

+15
-4
lines changed

1 file changed

+15
-4
lines changed

.github/ISSUE_TEMPLATE/bug.md

+15-4
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ assignees: ''
99

1010
## Compiler version
1111

12-
If you're not sure what version you're using, run `print scalaVersion` from sbt
13-
(if you're running scalac manually, use `scalac -version` instead).
12+
If you're not sure which version you're using, run `print scalaVersion` from sbt.
13+
(If you're running scalac manually, use `scalac -version` instead.)
1414

1515
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.
1616

@@ -19,11 +19,22 @@ If possible, check if your issue appears in the nightly version of the compiler!
1919
<!--
2020
This code should be self contained, compilable (with possible failures) and as small as possible.
2121
22-
Ideally, we should be able to just copy this code in a file and run `scalac` (and maybe `scala`) to reproduce the issue.
22+
Ideally, we should be able to just copy this code to a file and run `scalac` (and maybe `scala`) to reproduce the issue.
23+
24+
If the code has external dependencies, please provide the `scala-cli` directives that describe them.
25+
26+
It's most convenient to also include `using` directives for the Scala version that demonstrates the problem,
27+
any compiler command-line options, as well as dependencies. An example is provided.
28+
29+
It's also fine to paste the transcript of a REPL session. Note that some bugs may be specific to the REPL.
2330
-->
2431

2532
```scala
26-
println("hello, world")
33+
//> using scala 3.7.0
34+
//> using options -Wall -Werror
35+
//> using dep com.outr::scribe:3.16.1
36+
37+
@main def test = println("hello, world")
2738
```
2839

2940
## Output

0 commit comments

Comments
 (0)