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
The suggestion to try nightlies would've saved me about 10 minutes
because I would've seen @som-snytt already fixed#22901...
[skip ci]
---------
Co-authored-by: Som Snytt <[email protected]>
Co-authored-by: Piotr Chabelski <[email protected]>
Copy file name to clipboardExpand all lines: .github/ISSUE_TEMPLATE/bug.md
+19-5
Original file line number
Diff line number
Diff line change
@@ -9,19 +9,33 @@ 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
+
15
+
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.
14
16
15
17
## Minimized code
16
18
17
19
<!--
18
20
This code should be self contained, compilable (with possible failures) and as small as possible.
19
21
20
-
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 (or SBT/other build tool configuration) that describe them.
25
+
Also note that it's easier and faster for the maintenance team to address issues minimised to reproduce bugs without external dependencies.
26
+
27
+
It's most convenient to also include `using` directives for the Scala version that demonstrates the problem,
28
+
any compiler command-line options, as well as dependencies. An example is provided.
29
+
30
+
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