Skip to content

Commit 20bc4da

Browse files
committed
Add an issue template for parser bugs
1 parent c1ce180 commit 20bc4da

File tree

1 file changed

+37
-0
lines changed

1 file changed

+37
-0
lines changed

.github/ISSUE_TEMPLATE/PARSER_BUG.yml

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
name: SwiftParser Bug
2+
description: A bug in the new Swift parser
3+
labels: [bug, SwiftParser]
4+
body:
5+
- type: markdown
6+
attributes:
7+
value: Thanks for taking the time to fill out this bug report! If you could take the time to reduce the issue as described in [FilingBugReports.md](https://github.com/apple/swift-syntax/blob/main/Sources/SwiftParser/SwiftParser.docc/FilingBugReports.md), we would really appreciate that.
8+
- type: dropdown
9+
id: issue-type
10+
attributes:
11+
label: Issue Kind
12+
description: What kind of issue is this? See [FilingBugReports.md](https://github.com/apple/swift-syntax/blob/main/Sources/SwiftParser/SwiftParser.docc/FilingBugReports.md) for more details.
13+
options:
14+
- Round-Trip Failure
15+
- Parser Crash
16+
- Parse of Valid Source Failed
17+
- Parse of Valid Source Produced Invalid Syntax Tree
18+
- Bad Diagnostic Produced
19+
- Other
20+
- I Don’t Know
21+
- type: textarea
22+
id: source
23+
attributes:
24+
label: Source Code
25+
description: The source code that, when fed into the parser, produces the bug.
26+
value: |
27+
```swift
28+
```
29+
- type: textarea
30+
id: description
31+
attributes:
32+
label: Description
33+
description: |
34+
Any additional information you can provide for this issue, like
35+
- What did you expect to happen?
36+
- Has this issue started occurring recently?
37+
- If it’s a crash, the stack trace.

0 commit comments

Comments
 (0)