-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add snippets of unsupported constructions for dockerfile, go, js and rb
- Loading branch information
1 parent
9b35127
commit 8631e91
Showing
4 changed files
with
23 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
# The grammar defines the user as a method, which is a bug. | ||
RUN \ | ||
user | ||
|
||
# There is no scope for backslash. | ||
RUN \ | ||
echo \ | ||
echo |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,8 @@ | ||
// There is no scope for the comparable in the Go grammar. | ||
// https://github.com/worlpaker/go-syntax/issues/20/ | ||
func f[K comparable, V any]() | ||
|
||
// There is no scope for a property whose name may resemble a primitive type. | ||
struct { | ||
int int | ||
}{} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
# There are no scopes for number separators. | ||
1_0 | ||
1.0 |