From 7ac2d93938a0074ad0c93b2eeedcfcfcb81bfb24 Mon Sep 17 00:00:00 2001 From: Liu Fengyun Date: Fri, 22 Jan 2021 16:51:44 +0100 Subject: [PATCH] Add compiler version to issue template --- .github/ISSUE_TEMPLATE/bug.md | 7 +++++++ .github/ISSUE_TEMPLATE/crash.md | 7 +++++++ .github/ISSUE_TEMPLATE/other-issue.md | 8 +++++++- 3 files changed, 21 insertions(+), 1 deletion(-) diff --git a/.github/ISSUE_TEMPLATE/bug.md b/.github/ISSUE_TEMPLATE/bug.md index 5b7115f4ad0b..68b6d0f6269e 100644 --- a/.github/ISSUE_TEMPLATE/bug.md +++ b/.github/ISSUE_TEMPLATE/bug.md @@ -7,6 +7,13 @@ assignees: '' --- +## Compiler version + +``` bash +# get compiler version via command line +scalac -version +``` + ## Minimized code ```Scala diff --git a/.github/ISSUE_TEMPLATE/crash.md b/.github/ISSUE_TEMPLATE/crash.md index c248644f4b09..fdd097910a2c 100644 --- a/.github/ISSUE_TEMPLATE/crash.md +++ b/.github/ISSUE_TEMPLATE/crash.md @@ -7,6 +7,13 @@ assignees: '' --- +## Compiler version + +``` bash +# get compiler version via command line +scalac -version +``` + ## Minimized code ```Scala diff --git a/.github/ISSUE_TEMPLATE/other-issue.md b/.github/ISSUE_TEMPLATE/other-issue.md index 3c7b890e1792..eaf08b30ecde 100644 --- a/.github/ISSUE_TEMPLATE/other-issue.md +++ b/.github/ISSUE_TEMPLATE/other-issue.md @@ -4,9 +4,15 @@ about: Report an issue about the Dotty Compiler (not bug or crash) title: '' labels: assignees: '' - --- +## Compiler version + +``` bash +# get compiler version via command line +scalac -version +``` + ## Minimized example ```Scala