-
Notifications
You must be signed in to change notification settings - Fork 423
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add future for #26376, compiler hang during resolve
--- Signed-off-by: Paul Cassella <[email protected]>
- Loading branch information
Showing
4 changed files
with
14 additions
and
0 deletions.
There are no files selected for viewing
11 changes: 11 additions & 0 deletions
11
test/functions/resolution/recursive-call-with-reindexed-array-slice.chpl
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,11 @@ | ||
var nums = [ 0, 0, 0 ]; | ||
|
||
proc tryit(nums) : bool { | ||
if nums.size == 0 then return false; | ||
if tryit(nums[1..].reindex(0..nums.size-2)) then | ||
return true; | ||
return false; | ||
} | ||
|
||
|
||
tryit(nums); |
2 changes: 2 additions & 0 deletions
2
test/functions/resolution/recursive-call-with-reindexed-array-slice.future
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,2 @@ | ||
bug: compiler hangs in resolve phase | ||
#26376 |
Empty file.
1 change: 1 addition & 0 deletions
1
test/functions/resolution/recursive-call-with-reindexed-array-slice.timeout
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 @@ | ||
25 |