Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Unable to append string variables to other string variables #71

Closed
electrikmilk opened this issue Oct 25, 2024 · 0 comments · Fixed by #79
Closed

Unable to append string variables to other string variables #71

electrikmilk opened this issue Oct 25, 2024 · 0 comments · Fixed by #79
Assignees
Labels
bug Something isn't working

Comments

@electrikmilk
Copy link
Owner

electrikmilk commented Oct 25, 2024

Describe the bug
Appending a string variable to another string does not appear to work.

To Reproduce

@str = "testing"

@var = "test"
@str += var

show("{str}")

Produces:

Screenshot 2024-10-25 at 19 10 48

Outputs: "test"

Should produce (at something like):

Screenshot 2024-10-25 at 19 11 24

Outputs (properly): "testingtest"

@electrikmilk electrikmilk added the bug Something isn't working label Oct 25, 2024
@electrikmilk electrikmilk self-assigned this Oct 25, 2024
@electrikmilk electrikmilk changed the title Unable to append to strings Unable to append to string variables to other string variables Oct 25, 2024
@electrikmilk electrikmilk changed the title Unable to append to string variables to other string variables Unable to append string variables to other string variables Oct 25, 2024
@electrikmilk electrikmilk linked a pull request Feb 2, 2025 that will close this issue
electrikmilk added a commit that referenced this issue Feb 2, 2025
* Remove unnecessary conditional

* Make token descriptions show up under variables in IDEs

* Require straight variable set and not any modification to set variable to another variable by name

---------

Co-authored-by: Brandon Jordan <brandonjordan124@gmail.com>
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant