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

Remove "unused" variable warnings when used in String Template #62

Closed
rsmckinney opened this issue Apr 11, 2019 · 1 comment

Comments

Projects
None yet
1 participant
@rsmckinney
Copy link
Member

commented Apr 11, 2019

Describe the bug
Remove "unused" variable warnings when used in String Template

Example

String name = "foo"; // Warning: Variable 'name' is assigned but never access
String str = "Name = $name";

The warning is invalid because name is used in the string literal.

Expected behavior
No warning

Desktop (please complete the following information):

  • Manifold version: 0.59-alpha

@rsmckinney rsmckinney added the bug label Apr 11, 2019

@rsmckinney

This comment has been minimized.

Copy link
Member Author

commented May 15, 2019

58f97882 scott on 5/14/2019 at 5:35 PM

(fixed in IJ plugin version 0.66-alpha)

Note implemented an ImplicitUsageProvider to avoid the "never accessed" warnings, but waiting for decision from JB concerning https://youtrack.jetbrains.com/issue/IDEA-212574

@rsmckinney rsmckinney closed this May 15, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.