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

Dereferenced Variables in Function Calls Not Parsing Correctly #57

Closed
engineerjoe440 opened this issue Apr 8, 2023 · 1 comment · Fixed by #59
Closed

Dereferenced Variables in Function Calls Not Parsing Correctly #57

engineerjoe440 opened this issue Apr 8, 2023 · 1 comment · Fixed by #59
Labels
bug Something isn't working grammar

Comments

@engineerjoe440
Copy link
Collaborator

Found yet another little oddity while working through some "in-the-wild" ST code. In the segment below, the GetTagName()^ does not parse correctly. There seems to be an error handling that little ^ dereference in this context. 😕

Something := anObject.WriteLine(THIS^.something.t, THIS^.GetTagName()^, INT_TO_STRING(BOOL_TO_INT(THIS^.someAttribute)));

I hope that early next week I can start investigating this more closely!

@klauer klauer added bug Something isn't working grammar labels Apr 10, 2023
@engineerjoe440
Copy link
Collaborator Author

Well, shucks... 😆 I've got something that might address this, but haven't gotten around to getting a PR up for it yet. Sorry about that... Hopefully I'll get another chance to re-review my changes and get a PR up. Here's my working branch, FWIW: https://github.com/engineerjoe440/blark/tree/bugfix/dereferenced-method-return

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working grammar
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants