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

better argument names for StringContains #2806

Merged
merged 2 commits into from
Sep 3, 2024
Merged

Conversation

Ayush-Devs
Copy link
Contributor

This PR closes #2786

Updated the StringContains ASDL definition:
expr left -> expr substr
expr right -> expr str

@certik
Copy link
Contributor

certik commented Aug 26, 2024

@Ayush-Devs thank you! Do you mind also please submitting this same change to LFortran (https://github.com/lfortran/lfortran/) to ensure all tests pass there?

@Ayush-Devs
Copy link
Contributor Author

Sorry, but I didnt quite understand what do you wanted me to do. I cloned LFortran on my system, only to find that
StringContains(expr left, expr right, ttype type, expr? value) is not present in its files.

What exactly do I have to do? A more brief answer would be helpful.
thank you

@certik
Copy link
Contributor

certik commented Aug 30, 2024

@Ayush-Devs: we'll try to sync libasr from LFortran/LPython soon. Right now it's easier if you submit ASR changes via LFortran. If the StringContains is not there, then it either has to be added there, or removed from here.

@Ayush-Devs
Copy link
Contributor Author

Ayush-Devs commented Sep 1, 2024

added StringContains in LFortran. i hope both the prs are ready to be merged.

lfortran/lfortran#4723

@certik certik merged commit 728fb21 into lcompilers:main Sep 3, 2024
18 checks passed
@certik
Copy link
Contributor

certik commented Sep 3, 2024

Thanks!

@Ayush-Devs Ayush-Devs deleted the asr branch September 4, 2024 04:21
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.

ASR: bettern argument names for StringContains
2 participants