Skip to content
This repository was archived by the owner on Sep 24, 2020. It is now read-only.

[Bug] Unused variable when used in string literal as method argument #280

Closed
kilgaloon opened this issue Dec 7, 2016 · 5 comments
Closed

Comments

@kilgaloon
Copy link
Contributor

So basically this:

$name="John Doe";
Class::method("Hello $name");

This throws warning that variable is unused, but clearly it is.

@ovr
Copy link
Owner

ovr commented Dec 8, 2016

This bug is caused because We didn't support template strings...

@kilgaloon
Copy link
Contributor Author

It would be nice to have it then.

@ovr
Copy link
Owner

ovr commented Dec 8, 2016

@kilgaloon looks like you case was fixed, can you try latest master changes?
Thanks

@kilgaloon
Copy link
Contributor Author

Ye, you can close this issue

@ovr
Copy link
Owner

ovr commented Dec 8, 2016

@kilgaloon Thank for bug reporting and testing 👍
Going to close this issue because fixed in 795841b

Thanks

@ovr ovr closed this as completed Dec 8, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants