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

"" -> `" does not work in functions #299

Closed
Banaanae opened this issue Oct 3, 2024 · 1 comment · Fixed by #309
Closed

"" -> `" does not work in functions #299

Banaanae opened this issue Oct 3, 2024 · 1 comment · Fixed by #309

Comments

@Banaanae
Copy link
Collaborator

Banaanae commented Oct 3, 2024

V1:

F1:: MsgBox % """" ; "
F2:: MsgBox % "abc""123" ; abc"123
F3:: MsgBox % "abc""123" MyFunc("", "123""abc") "" ; abc"123123"abc

MyFunc(a, b) {
  return a b
}

V2 (Converted):

F1::MsgBox("""") ; "
F2::MsgBox("abc""123") ; abc"123
F3::MsgBox("abc""123" MyFunc("", "123""abc") "") ; abc"123123"abc

MyFunc(a, b) {
  return a b
}

V2 (Expected):

F1::MsgBox("`"") ; "
F2::MsgBox("abc`"123") ; abc"123
F3::MsgBox("abc`"123" MyFunc("", "123`"abc") "") ; abc"123123"abc

MyFunc(a, b) {
  return a b
}
@Banaanae Banaanae changed the title "" -> `" does not work in same line hotkeys "" -> `" does not work in MsgBox Oct 3, 2024
@Banaanae
Copy link
Collaborator Author

Banaanae commented Oct 3, 2024

Ignore that all tests begin with F1::, issue is in MsgBox

@Banaanae Banaanae changed the title "" -> `" does not work in MsgBox "" -> `" does not work in functions Oct 3, 2024
Banaanae added a commit that referenced this issue Oct 3, 2024
added f tests for #294 #295 #296 #298 #299 #300 #301
cleanup return tests
@Banaanae Banaanae mentioned this issue Nov 9, 2024
2 tasks
Banaanae added a commit that referenced this issue Nov 16, 2024
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 a pull request may close this issue.

1 participant