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

Update array type regex to account for missing whitespace #28

Merged
merged 1 commit into from
Sep 3, 2021

Conversation

pema99
Copy link
Contributor

@pema99 pema99 commented Aug 15, 2021

On my machine, using Futhark 0.19.7, the compiler does not emit a space after the declaration of an array type.
This in turn causes the array_types Vec in the code I changed to become empty, and crucial machinery for array types is never generated.

This happens even when using the simple example in examples/. I've attached the full output of that example using sequential_c, see line 49 for an example.

This change just makes that whitespace optional in the regex.

@Erk- Erk- merged commit e4d98ce into Erk-:master Sep 3, 2021
@Erk-
Copy link
Owner

Erk- commented Sep 3, 2021

Thanks!

@Erk-
Copy link
Owner

Erk- commented Sep 3, 2021

I have published a new version with this fix

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