-
Notifications
You must be signed in to change notification settings - Fork 167
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
actually run the tests in the syntax/run folder
- Loading branch information
1 parent
8381e9e
commit b76d3aa
Showing
52 changed files
with
55 additions
and
21 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
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 was deleted.
Oops, something went wrong.
Empty file.
File renamed without changes.
File renamed without changes.
File renamed without changes.
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 @@ | ||
{ | ||
"flags": "-l" | ||
} |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
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 @@ | ||
test/syntax/no-run/wrong/braces1@kk(4,15): parse error: invalid syntax | ||
unexpected ")" | ||
expecting ":", guard condition "|", "->" or "{" |
File renamed without changes.
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 @@ | ||
test/syntax/no-run/wrong/braces2@kk(4,15): parse error: invalid syntax | ||
unexpected "->" | ||
expecting "," or ")" |
File renamed without changes.
2 changes: 1 addition & 1 deletion
2
test/syntax/wrong/unused1.kk.out → test/syntax/no-run/wrong/unused1.kk.out
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,3 @@ | ||
test/syntax/wrong/unused1@kk(2, 5): parse error: invalid syntax | ||
test/syntax/no-run/wrong/unused1@kk(2, 5): parse error: invalid syntax | ||
unexpected 2 | ||
expecting "@", "(", "[", "{", "fn", operator, ":=", ";", "return" or "}" |
File renamed without changes.
2 changes: 1 addition & 1 deletion
2
test/syntax/wrong/unused2.kk.out → test/syntax/no-run/wrong/unused2.kk.out
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,3 @@ | ||
test/syntax/wrong/unused2@kk(2, 9): parse error: invalid syntax | ||
test/syntax/no-run/wrong/unused2@kk(2, 9): parse error: invalid syntax | ||
unexpected identifier "print" | ||
expecting "@", "(", "[", "{", "fn", operator, ":=", ";", "return" or "}" |
File renamed without changes.
2 changes: 1 addition & 1 deletion
2
test/syntax/wrong/unused3.kk.out → test/syntax/no-run/wrong/unused3.kk.out
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,3 @@ | ||
test/syntax/wrong/unused3@kk(3, 5): parse error: invalid syntax | ||
test/syntax/no-run/wrong/unused3@kk(3, 5): parse error: invalid syntax | ||
unexpected identifier "xs" | ||
expecting "@", "(", "[", "{", "fn", operator, ":=", ";", "return" or "}" |
File renamed without changes.
2 changes: 1 addition & 1 deletion
2
test/syntax/wrong/utf1.kk.out → test/syntax/no-run/wrong/utf1.kk.out
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
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,12 @@ | ||
1 + 0 + 1 + 3 | ||
5 | ||
1 + 2 + 3 + 3 | ||
9 | ||
1 + 1 + 2 + 3 | ||
7 | ||
1 + 2 + 0 + 10 | ||
13 | ||
1 + 2 + 0 + 30 | ||
33 | ||
-1 + 1 + 1 + 3 | ||
4 |
File renamed without changes.
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,9 @@ | ||
f(2, [1], Just([2, 3])) -> 6 | ||
f(1, [1], Just([1])) -> syntax/run/pattern-match-in-param(1,34): f: pattern match failure | ||
g(1, 2) -> 1 | ||
h([2,3]) -> 2 | ||
h() -> 1 | ||
i(0) -> 1 | ||
j(0) -> 1 | ||
k([]) -> syntax/run/pattern-match-in-param(23,12): k: pattern match failure | ||
l((1, 2, 3)) -> 1 |
Empty file.
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,5 @@ | ||
test/syntax/run/tail@kk(17,37): type error: types do not match | ||
context : min-by([1@0, 2@0], id, 0@0)@println | ||
term : | ||
inferred type: (d : float64, precision : ? int) -> _e string | ||
expected type: (float64) -> string |
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,5 @@ | ||
test/syntax/run/tail@kk(17,37): type error: types do not match | ||
context : min-by([1@0, 2@0], id, 0@0)@println | ||
term : | ||
inferred type: (d : float64, precision : ? int) -> _e string | ||
expected type: (float64) -> string |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.