Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add future for #26376, compiler hang during resolve #26377

Merged
merged 1 commit into from
Dec 8, 2024

Conversation

cassella
Copy link
Contributor

@cassella cassella commented Dec 7, 2024

The same program compiles when a distinct array is created instead of passing a slice:

  var newnums = for i in 0..#nums.size-1 do nums[i+1];
  tryit(newnums);

---
Signed-off-by: Paul Cassella <gitgitgit@manetheren.bigw.org>
@cassella
Copy link
Contributor Author

cassella commented Dec 7, 2024

@vasslitvinov ?

Since it's hanging in the resolve phase and all I can think it's resolving is the function, I dropped it in test/functions/resolution.

I picked a timeout of 25 aiming for a compilation timeout of 100 seconds. My laptop usually compiles hello world kinds of programs in under a minute, so I'm guessing 100 seconds is long enough for anywhere that needs to run tests.

@vasslitvinov vasslitvinov merged commit c534099 into chapel-lang:main Dec 8, 2024
7 checks passed
@cassella cassella deleted the add-future-for-26376 branch December 8, 2024 21:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants