-
Notifications
You must be signed in to change notification settings - Fork 125
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Quick fixes for more compile errors (#1360)
* some more quick fixes Signed-off-by: Shashank Mittal <[email protected]> * fix Signed-off-by: Shashank Mittal <[email protected]> * more fixes Signed-off-by: Shashank Mittal <[email protected]> * fmt Signed-off-by: Shashank Mittal <[email protected]> * grammar test fixed Signed-off-by: Shashank Mittal <[email protected]> * test fix Signed-off-by: Shashank Mittal <[email protected]> * fixes from #1359 Signed-off-by: Shashank Mittal <[email protected]> * fmt Signed-off-by: Shashank Mittal <[email protected]> --------- Signed-off-by: Shashank Mittal <[email protected]>
- Loading branch information
1 parent
fd4967e
commit 16d0d10
Showing
7 changed files
with
67 additions
and
52 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 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
4 changes: 2 additions & 2 deletions
4
test/grammar/comprehension/dict/invalid_loop_var_fail_0/stderr.golden
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,6 +1,6 @@ | ||
error[E2L23]: CompileError | ||
--> ${CWD}/main.k:2:25 | ||
--> ${CWD}/main.k:2:23 | ||
| | ||
2 | dataLoop = [i for i, j, k in data] # error | ||
| ^ the number of loop variables is 3, which can only be 1 or 2 | ||
| ^ the number of loop variables is 3, which can only be 1 or 2 | ||
| |
4 changes: 2 additions & 2 deletions
4
test/grammar/comprehension/list/invalid_loop_var_fail_0/stderr.golden
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,6 +1,6 @@ | ||
error[E2L23]: CompileError | ||
--> ${CWD}/main.k:2:25 | ||
--> ${CWD}/main.k:2:23 | ||
| | ||
2 | dataLoop = [i for i, j, k in data] # error | ||
| ^ the number of loop variables is 3, which can only be 1 or 2 | ||
| ^ the number of loop variables is 3, which can only be 1 or 2 | ||
| |
4 changes: 2 additions & 2 deletions
4
test/grammar/comprehension/str/invalid_loop_var_fail_0/stderr.golden
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,6 +1,6 @@ | ||
error[E2L23]: CompileError | ||
--> ${CWD}/main.k:2:25 | ||
--> ${CWD}/main.k:2:23 | ||
| | ||
2 | dataLoop = [i for i, j, k in dataString] # error | ||
| ^ the number of loop variables is 3, which can only be 1 or 2 | ||
| ^ the number of loop variables is 3, which can only be 1 or 2 | ||
| |