You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .github/ISSUE_TEMPLATE/bug.md
+15-4
Original file line number
Diff line number
Diff line change
@@ -9,8 +9,8 @@ assignees: ''
9
9
10
10
## Compiler version
11
11
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.)
14
14
15
15
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.
16
16
@@ -19,11 +19,22 @@ If possible, check if your issue appears in the nightly version of the compiler!
19
19
<!--
20
20
This code should be self contained, compilable (with possible failures) and as small as possible.
21
21
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.
0 commit comments