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

Track out variables and function results #6

Closed
chovyy opened this issue Feb 13, 2018 · 1 comment
Closed

Track out variables and function results #6

chovyy opened this issue Feb 13, 2018 · 1 comment
Assignees

Comments

@chovyy
Copy link
Member

chovyy commented Feb 13, 2018

Let's say there is a global variable exmpl and code like this:

alias => exmpl
result = alias%var1 + 42

In this situation FCG knows that exampl%var1 is used in the code, but if it looks like that

FUNCTION func()
  ...
  func = exmpl
END FUNCTION

alias => func()
result = alias%var1 + 42

or

SUBROUTINE subr(outVar)
  ...
  outVar = exmpl
END SUBROUTINE

CALL subr(alias)
result = alias%var1 + 42

it currently doesn't work correctly.

@chovyy chovyy self-assigned this Feb 13, 2018
@chovyy
Copy link
Member Author

chovyy commented Dec 1, 2018

Fixed by v1.3.0.

@chovyy chovyy closed this as completed Dec 1, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant