Skip to content

Commit

Permalink
Add future for #26376, compiler hang during resolve
Browse files Browse the repository at this point in the history
---
Signed-off-by: Paul Cassella <[email protected]>
  • Loading branch information
cassella committed Dec 7, 2024
1 parent d80d75c commit 638e7f8
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 0 deletions.
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);
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
bug: compiler hangs in resolve phase
#26376
Empty file.
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
25

0 comments on commit 638e7f8

Please sign in to comment.