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

Variables group in Equivalence statement do not cover the case with character substring names #216

Open
lsafina opened this issue Mar 13, 2024 · 4 comments

Comments

@lsafina
Copy link
Contributor

lsafina commented Mar 13, 2024

Equivalence statement's elements can include list of variable names, array element names, array names, and character substring names. Currently it is implemented as each its element should be of FASTFortranVariable, which is not the case for character substring names.

This can be fixed in two ways

  1. Make FASTFortranSubstring extend FASTFortranVariable
  2. Loose the type of variable group making it less restrictive
@lsafina
Copy link
Contributor Author

lsafina commented Mar 13, 2024

@NicolasAnquetil
Copy link
Contributor

Character substring are expression of the form S(I:L) ?
We could:

  • loosen up the type for equivalence statement's elements (to TExpression)
  • define a new trait TEquivalenceElement

@NicolasAnquetil
Copy link
Contributor

inviting @uNouss to the discussion

@lsafina
Copy link
Contributor Author

lsafina commented Mar 25, 2024

ignore

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

No branches or pull requests

2 participants